Bug that is unfixable with current frontend
authorChris Lattner <sabre@nondot.org>
Thu, 30 Jan 2003 17:34:04 +0000 (17:34 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 30 Jan 2003 17:34:04 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5436 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-01-30-UnionInit.c [new file with mode: 0644]

diff --git a/test/CFrontend/2003-01-30-UnionInit.c b/test/CFrontend/2003-01-30-UnionInit.c
new file mode 100644 (file)
index 0000000..0542254
--- /dev/null
@@ -0,0 +1,8 @@
+
+
+union foo {
+  struct { char A, B; } X;
+  int C;
+};
+
+union foo V = { {1, 2} };