aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-07-26 22:08:53 +0000
committerChris Lattner <sabre@nondot.org>2005-07-26 22:08:53 +0000
commit50e9ef8792c5c91b7ea6f24f878d1abbcb6024a4 (patch)
tree79084b626bc51d0985058e8867a160ba10998045
parentb65975a6ed58ee6696818e785bee49fcbe0b2a0c (diff)
Testcase for PR607
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22519 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2005-07-26-UnionInitCrash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CFrontend/2005-07-26-UnionInitCrash.c b/test/CFrontend/2005-07-26-UnionInitCrash.c
new file mode 100644
index 0000000000..563278a9c6
--- /dev/null
+++ b/test/CFrontend/2005-07-26-UnionInitCrash.c
@@ -0,0 +1,3 @@
+// PR607
+// RUN: %llvmgcc %s -S -o -
+union { char bytes[8]; double alignment; }EQ1 = {0,0,0,0,0,0,0,0};