[cfe-commits] r41465 - /cfe/trunk/test/CodeGen/complex.c

Chris Lattner sabre at nondot.org
Sun Aug 26 15:41:57 PDT 2007


Author: lattner
Date: Sun Aug 26 17:41:57 2007
New Revision: 41465

URL: http://llvm.org/viewvc/llvm-project?rev=41465&view=rev
Log:
new testcases

Modified:
    cfe/trunk/test/CodeGen/complex.c

Modified: cfe/trunk/test/CodeGen/complex.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/complex.c?rev=41465&r1=41464&r2=41465&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/complex.c (original)
+++ cfe/trunk/test/CodeGen/complex.c Sun Aug 26 17:41:57 2007
@@ -20,6 +20,8 @@
 }
 
 _Complex double g1, g2;
+_Complex float cf;
+double D;
 
 void test3() {
   g1 = g1 + g2;
@@ -28,4 +30,8 @@
   g1 = +-~g1;
 
   double Gr = __real g1;
+
+  //cf += D;  // fixme: sema bug
+  D += cf;
+  cf /= g1;
 }





More information about the cfe-commits mailing list