aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-08-23-LocalUnionTest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2003-08-23-LocalUnionTest.c')
-rw-r--r--test/CFrontend/2003-08-23-LocalUnionTest.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CFrontend/2003-08-23-LocalUnionTest.c b/test/CFrontend/2003-08-23-LocalUnionTest.c
new file mode 100644
index 0000000..2558f98
--- /dev/null
+++ b/test/CFrontend/2003-08-23-LocalUnionTest.c
@@ -0,0 +1,9 @@
+
+
+union foo { int X; };
+
+int test(union foo* F) {
+ {
+ union foo { float X; } A;
+ }
+}