aboutsummaryrefslogtreecommitdiff
path: root/testcases/incomp_initr.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/incomp_initr.c')
-rw-r--r--testcases/incomp_initr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcases/incomp_initr.c b/testcases/incomp_initr.c
new file mode 100644
index 0000000..1068284
--- /dev/null
+++ b/testcases/incomp_initr.c
@@ -0,0 +1,4 @@
+int main() {
+ struct A {int x, y;} b;
+ int a[(1 + 1 == 2) * 2] = {1, b};
+}