From d2b0e710d6daa252b9f53d32e6fd917d12ce2f1e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 10 Apr 2005 03:06:27 +0000 Subject: [PATCH] new testcase for previously unsupported unary complex operators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21199 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2005-04-09-ComplexOps.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CFrontend/2005-04-09-ComplexOps.c diff --git a/test/CFrontend/2005-04-09-ComplexOps.c b/test/CFrontend/2005-04-09-ComplexOps.c new file mode 100644 index 00000000000..cadf99672c5 --- /dev/null +++ b/test/CFrontend/2005-04-09-ComplexOps.c @@ -0,0 +1,6 @@ +// %llvmgcc %s -S -o - + +#include +#define I 1.0iF + +double __complex test(double X) { return -(X*I); } -- 2.34.1