summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-30 17:34:04 +0000
committerChris Lattner <sabre@nondot.org>2003-01-30 17:34:04 +0000
commit201219039c5ac2f57c382c3a239c07a1b9bf8916 (patch)
treeebd1ca7b5c3c6b0b8436f708cb2f1a81edfaf88b /test/CFrontend
parent8c73b0f7f6c4116e8a98383558c6de6c74ec1397 (diff)
downloadllvm-201219039c5ac2f57c382c3a239c07a1b9bf8916.tar.gz
llvm-201219039c5ac2f57c382c3a239c07a1b9bf8916.tar.bz2
llvm-201219039c5ac2f57c382c3a239c07a1b9bf8916.tar.xz
Bug that is unfixable with current frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-01-30-UnionInit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CFrontend/2003-01-30-UnionInit.c b/test/CFrontend/2003-01-30-UnionInit.c
new file mode 100644
index 0000000000..05422543f7
--- /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} };