From 5ff606401b912e51131d1f20f689c32f466350ea Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Sep 2005 06:53:56 +0000 Subject: [PATCH] Testcase for PR629 llvm-svn: 23401 --- llvm/test/Regression/CFrontend/2005-09-20-ComplexConstants.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 llvm/test/Regression/CFrontend/2005-09-20-ComplexConstants.c diff --git a/llvm/test/Regression/CFrontend/2005-09-20-ComplexConstants.c b/llvm/test/Regression/CFrontend/2005-09-20-ComplexConstants.c new file mode 100644 index 000000000000..34dd64a3cb7b --- /dev/null +++ b/llvm/test/Regression/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}; +