From: Chris Lattner Date: Tue, 10 May 2005 22:32:29 +0000 (+0000) Subject: new testcase for PR562 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=47f9607e5624e4d53cf0ee3d65c60187da67f7d2;p=oota-llvm.git new testcase for PR562 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21849 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2005-05-10-GlobalUnionInit.c b/test/CFrontend/2005-05-10-GlobalUnionInit.c new file mode 100644 index 00000000000..443064c921d --- /dev/null +++ b/test/CFrontend/2005-05-10-GlobalUnionInit.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc %s -S -o - + +union A { // { uint } + union B { double *C; } D; +} E = { { (double*)12312 } }; +