diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-26 22:41:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-26 22:41:57 +0000 |
commit | 02aac86549cd136c093064e07f61079b51ab3106 (patch) | |
tree | 2928bf454ad51b5f9308e57492e0dec68ad7ef54 /clang/test/CodeGen/complex.c | |
parent | e56d3e1a23db5829fd8ab9f0ff7ee1c80f811332 (diff) | |
download | bcm5719-llvm-02aac86549cd136c093064e07f61079b51ab3106.tar.gz bcm5719-llvm-02aac86549cd136c093064e07f61079b51ab3106.zip |
new testcases
llvm-svn: 41465
Diffstat (limited to 'clang/test/CodeGen/complex.c')
-rw-r--r-- | clang/test/CodeGen/complex.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c index 8a496ea425b..502ff0f0b3f 100644 --- a/clang/test/CodeGen/complex.c +++ b/clang/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; } |