aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-10 17:02:59 +0000
committerChris Lattner <sabre@nondot.org>2007-08-10 17:02:59 +0000
commit12b2be25f8575fb0a1f6ecf5802e3bcb78af6ada (patch)
treecbbf7c17188fd215287937d329fa5401d054b06d
parentcc666af7d40826e6863b9baea2e90c0b46f68b1a (diff)
make this harder
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40994 91177308-0d34-0410-b5e6-96231b3b80d8
-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
index 201ff7428f..6c081dbd34 100644
--- a/test/CodeGen/complex.c
+++ b/test/CodeGen/complex.c
@@ -7,3 +7,13 @@ int main(void)
return a * b != b * a;
}
+
+_Complex double bar(int);
+void test(_Complex double*);
+
+void test2(int c) {
+ _Complex double X;
+ X = bar(1);
+ test(&X);
+}
+