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

Gabor Greif ggreif at gmail.com
Fri Jul 13 15:15:44 PDT 2007


Author: ggreif
Date: Fri Jul 13 17:15:44 2007
New Revision: 39836

URL: http://llvm.org/viewvc/llvm-project?rev=39836&view=rev
Log:
a simple _Complex testcase

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

Added: cfe/trunk/test/CodeGen/complex.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/complex.c?rev=39836&view=auto

==============================================================================
--- cfe/trunk/test/CodeGen/complex.c (added)
+++ cfe/trunk/test/CodeGen/complex.c Fri Jul 13 17:15:44 2007
@@ -0,0 +1,10 @@
+// RUN: clang -emit-llvm %s
+// XFAIL: *
+
+void main(void)
+{
+  double _Complex a = 5;
+  double _Complex b = 42;
+
+  return a * b == 123;
+}





More information about the cfe-commits mailing list