aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-26 22:41:57 +0000
committerChris Lattner <sabre@nondot.org>2007-08-26 22:41:57 +0000
commit8ae3a9f8bec69b5251abd695ffcd306a90b84d61 (patch)
treefd13e1c9998f03078a5cddc13ad62adf0c00e91a
parent04dc76496e869460a1acb7923fc00163c0128b0a (diff)
new testcases
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41465 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/complex.c6
1 files changed, 6 insertions, 0 deletions
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;
}