From 47ddea2d2adc47337a4c296a5cd7b9dab30cfa23 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Aug 2003 22:09:26 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8085 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-08-23-LocalUnionTest.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CFrontend/2003-08-23-LocalUnionTest.c 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; + } +}