summaryrefslogtreecommitdiffstats
path: root/llvm/test/CFrontend/2005-09-20-ComplexConstants.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CFrontend/2005-09-20-ComplexConstants.c')
-rw-r--r--llvm/test/CFrontend/2005-09-20-ComplexConstants.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CFrontend/2005-09-20-ComplexConstants.c b/llvm/test/CFrontend/2005-09-20-ComplexConstants.c
new file mode 100644
index 00000000000..34dd64a3cb7
--- /dev/null
+++ b/llvm/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};
+
OpenPOWER on IntegriCloud