aboutsummaryrefslogtreecommitdiff
path: root/tests/const-init.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-13 15:42:43 -0800
committerMichael Forney <mforney@mforney.org>2019-02-13 19:42:25 -0800
commit792beff25a6ca5aaf26d5a6dd2449f2e0aefbebb (patch)
treec4e970dd98937f1c1caefeabce62e4867064d186 /tests/const-init.c
parent8040e25abcad4b106514315a53f4723e3a387959 (diff)
Ignore qualifiers when parsing initializers
Diffstat (limited to 'tests/const-init.c')
-rw-r--r--tests/const-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/const-init.c b/tests/const-init.c
new file mode 100644
index 0000000..4d33888
--- /dev/null
+++ b/tests/const-init.c
@@ -0,0 +1 @@
+const struct {struct {int x, y;} t;} s = {{{1}, 2}};