From 201219039c5ac2f57c382c3a239c07a1b9bf8916 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 30 Jan 2003 17:34:04 +0000 Subject: [PATCH] Bug that is unfixable with current frontend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5436 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-01-30-UnionInit.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CFrontend/2003-01-30-UnionInit.c diff --git a/test/CFrontend/2003-01-30-UnionInit.c b/test/CFrontend/2003-01-30-UnionInit.c new file mode 100644 index 00000000000..05422543f70 --- /dev/null +++ b/test/CFrontend/2003-01-30-UnionInit.c @@ -0,0 +1,8 @@ + + +union foo { + struct { char A, B; } X; + int C; +}; + +union foo V = { {1, 2} }; -- 2.40.0