diff --git a/test/CFrontend/2003-08-23-LocalUnionTest.c b/test/CFrontend/2003-08-23-LocalUnionTest.c new file mode 100644 index 00000000000..2558f981527 --- /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; + } +}