aboutsummaryrefslogtreecommitdiff
path: root/testcases/incomp_initr.c
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-04-11 21:07:07 +0800
committerTeddy <[email protected]>2014-04-11 21:07:07 +0800
commit3df4969163f82d140484b450648a1a763dff02ed (patch)
treeebd830dea906c7ecfae9d2ac52f4cec639b42c28 /testcases/incomp_initr.c
parente1b7e90e8975f62c2dd4d5add7f31f2771c7f9a7 (diff)
...
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};
+}