summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-21 06:53:56 +0000
committerChris Lattner <sabre@nondot.org>2005-09-21 06:53:56 +0000
commit77f800545e14e3f4bde70a297643c423a6763b2d (patch)
tree9c75f0578f51ac4e64234448e924e81401209014 /test
parent3c3fe462f7978b429ecdd71750c26be25c3d1335 (diff)
downloadllvm-77f800545e14e3f4bde70a297643c423a6763b2d.tar.gz
llvm-77f800545e14e3f4bde70a297643c423a6763b2d.tar.bz2
llvm-77f800545e14e3f4bde70a297643c423a6763b2d.tar.xz
Testcase for PR629
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2005-09-20-ComplexConstants.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/2005-09-20-ComplexConstants.c b/test/CFrontend/2005-09-20-ComplexConstants.c
new file mode 100644
index 0000000000..34dd64a3cb
--- /dev/null
+++ b/test/CFrontend/2005-09-20-ComplexConstants.c
@@ -0,0 +1,5 @@
+// RUN: %llvmgcc %s -S -o - && \
+// RUN: %llvmgcc %s -S -o - | llvm-as -o /dev/null -f
+
+const double _Complex x[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
+