From 12b2be25f8575fb0a1f6ecf5802e3bcb78af6ada Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 Aug 2007 17:02:59 +0000 Subject: [PATCH] make this harder git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40994 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/complex.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); +} + -- 2.40.0