From: Chris Lattner Date: Fri, 10 Oct 2003 04:05:29 +0000 (+0000) Subject: New testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=83bb2565c68713e195765edc3c3b56766db4b6e7;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8997 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2003-10-09-UnionInitializerBug.c b/test/CFrontend/2003-10-09-UnionInitializerBug.c new file mode 100644 index 00000000000..e574a1931d3 --- /dev/null +++ b/test/CFrontend/2003-10-09-UnionInitializerBug.c @@ -0,0 +1,15 @@ +struct Foo { + unsigned a; + unsigned b; + unsigned c; +}; + +struct Bar { + union { + void **a; + struct Foo b; + }u; +}; + +struct Bar test = {0}; +