make this harder
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41346 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c
index 6c081db..3b5437c 100644
--- a/test/CodeGen/complex.c
+++ b/test/CodeGen/complex.c
@@ -10,10 +10,20 @@
_Complex double bar(int);
void test(_Complex double*);
+void takecomplex(_Complex double);
void test2(int c) {
_Complex double X;
X = bar(1);
test(&X);
+ takecomplex(X);
}
+_Complex double g1, g2;
+
+void test3() {
+ g1 = g1 + g2;
+ g1 = g1 - g2;
+ g1 = g1 * g2;
+ g1 = +-~g1;
+}