diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-10 17:02:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-10 17:02:59 +0000 |
commit | e9a91ae4ea7c6ae98ec2811881e026baca061087 (patch) | |
tree | c476948a03b8a1f0c78bce75d03773c273271246 /clang/test/CodeGen/complex.c | |
parent | 90d9120453ed84fdf737ffaf492fb6e7673b31aa (diff) | |
download | bcm5719-llvm-e9a91ae4ea7c6ae98ec2811881e026baca061087.tar.gz bcm5719-llvm-e9a91ae4ea7c6ae98ec2811881e026baca061087.zip |
make this harder
llvm-svn: 40994
Diffstat (limited to 'clang/test/CodeGen/complex.c')
-rw-r--r-- | clang/test/CodeGen/complex.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c index 201ff7428f9..6c081dbd345 100644 --- a/clang/test/CodeGen/complex.c +++ b/clang/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); +} + |