should fail: variable with incomplete type.
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 15 Aug 2008 19:56:24 +0000 (19:56 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 15 Aug 2008 19:56:24 +0000 (19:56 +0000)
[r21206]

parsetest/shouldfail/incomplete_struct.c [new file with mode: 0644]

diff --git a/parsetest/shouldfail/incomplete_struct.c b/parsetest/shouldfail/incomplete_struct.c
new file mode 100644 (file)
index 0000000..0c47251
--- /dev/null
@@ -0,0 +1,5 @@
+int main(void)
+{
+       struct S q, r;
+       return 0;
+}