aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-22 21:40:38 +0000
committerChris Lattner <sabre@nondot.org>2003-06-22 21:40:38 +0000
commitba38fe6d02d5c1205a1b5141f847f1696ad82c10 (patch)
treeafda64b1f6adeaa5379174818f841f0ccfda8779 /test/CFrontend
parent037d25831920ce26c6745fc7b18ccd93916658d3 (diff)
downloadexternal_llvm-ba38fe6d02d5c1205a1b5141f847f1696ad82c10.zip
external_llvm-ba38fe6d02d5c1205a1b5141f847f1696ad82c10.tar.gz
external_llvm-ba38fe6d02d5c1205a1b5141f847f1696ad82c10.tar.bz2
New testcase narrowed down by Joel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-06-22-UnionCrash.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CFrontend/2003-06-22-UnionCrash.c b/test/CFrontend/2003-06-22-UnionCrash.c
new file mode 100644
index 0000000..e4fb3f0
--- /dev/null
+++ b/test/CFrontend/2003-06-22-UnionCrash.c
@@ -0,0 +1,11 @@
+struct Blend_Map_Entry {
+ union {
+ float Colour[5];
+ double Point_Slope[2];
+ } Vals;
+};
+
+void test(struct Blend_Map_Entry* Foo)
+{
+}
+