summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-26 22:41:57 +0000
committerChris Lattner <sabre@nondot.org>2007-08-26 22:41:57 +0000
commit02aac86549cd136c093064e07f61079b51ab3106 (patch)
tree2928bf454ad51b5f9308e57492e0dec68ad7ef54
parente56d3e1a23db5829fd8ab9f0ff7ee1c80f811332 (diff)
downloadbcm5719-llvm-02aac86549cd136c093064e07f61079b51ab3106.tar.gz
bcm5719-llvm-02aac86549cd136c093064e07f61079b51ab3106.zip
new testcases
llvm-svn: 41465
-rw-r--r--clang/test/CodeGen/complex.c6
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;
}
OpenPOWER on IntegriCloud