aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/complex.c')
-rw-r--r--test/CodeGen/complex.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c
new file mode 100644
index 0000000000..001d148bc5
--- /dev/null
+++ b/test/CodeGen/complex.c
@@ -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;
+}