aboutsummaryrefslogtreecommitdiff
path: root/test/static-assert-struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/static-assert-struct.c')
-rw-r--r--test/static-assert-struct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/static-assert-struct.c b/test/static-assert-struct.c
new file mode 100644
index 0000000..3b9f97d
--- /dev/null
+++ b/test/static-assert-struct.c
@@ -0,0 +1,4 @@
+struct s {
+ int x;
+ _Static_assert(1, "");
+};