new testcase for PR562
authorChris Lattner <sabre@nondot.org>
Tue, 10 May 2005 22:32:29 +0000 (22:32 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 10 May 2005 22:32:29 +0000 (22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21849 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2005-05-10-GlobalUnionInit.c [new file with mode: 0644]

diff --git a/test/CFrontend/2005-05-10-GlobalUnionInit.c b/test/CFrontend/2005-05-10-GlobalUnionInit.c
new file mode 100644 (file)
index 0000000..443064c
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc %s -S -o -
+
+union A {                    // { uint }
+  union B { double *C; } D;
+} E = { { (double*)12312 } };
+