From 47f9607e5624e4d53cf0ee3d65c60187da67f7d2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 10 May 2005 22:32:29 +0000 Subject: [PATCH] new testcase for PR562 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21849 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2005-05-10-GlobalUnionInit.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CFrontend/2005-05-10-GlobalUnionInit.c 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 } }; + -- 2.34.1