From: Chris Lattner Date: Sun, 26 Aug 2007 22:41:57 +0000 (+0000) Subject: new testcases X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ae3a9f8bec69b5251abd695ffcd306a90b84d61;p=clang new testcases git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41465 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c index 8a496ea425..502ff0f0b3 100644 --- a/test/CodeGen/complex.c +++ b/test/CodeGen/complex.c @@ -20,6 +20,8 @@ void test2(int c) { } _Complex double g1, g2; +_Complex float cf; +double D; void test3() { g1 = g1 + g2; @@ -28,4 +30,8 @@ void test3() { g1 = +-~g1; double Gr = __real g1; + + //cf += D; // fixme: sema bug + D += cf; + cf /= g1; }