aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}