cp_error047: struct definition for same name in inner scope.
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 15 Aug 2008 17:14:43 +0000 (17:14 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 15 Aug 2008 17:14:43 +0000 (17:14 +0000)
[r21202]

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

diff --git a/parsetest/cp_error047.c b/parsetest/cp_error047.c
new file mode 100644 (file)
index 0000000..6f59d77
--- /dev/null
@@ -0,0 +1,7 @@
+struct S { int x; };
+
+int main(void)
+{
+       struct S { char y; };
+       return 0;
+}