summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/complex.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-27 16:37:44 +0000
committerChris Lattner <sabre@nondot.org>2007-08-27 16:37:44 +0000
commit23bf38b8c55722a9aef71cea7155ae2ecec02676 (patch)
tree3287cee093eabdc83e2672c8542968fa3deb3c83 /clang/test/CodeGen/complex.c
parent9625d812c950ec38aefe87e1493ef14fcc1f6444 (diff)
downloadbcm5719-llvm-23bf38b8c55722a9aef71cea7155ae2ecec02676.tar.gz
bcm5719-llvm-23bf38b8c55722a9aef71cea7155ae2ecec02676.zip
add some more testcases now that sema is happier :)
llvm-svn: 41492
Diffstat (limited to 'clang/test/CodeGen/complex.c')
-rw-r--r--clang/test/CodeGen/complex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c
index 502ff0f0b3f..3ac04218cce 100644
--- a/clang/test/CodeGen/complex.c
+++ b/clang/test/CodeGen/complex.c
@@ -31,7 +31,9 @@ void test3() {
double Gr = __real g1;
- //cf += D; // fixme: sema bug
+ cf += D;
D += cf;
cf /= g1;
+ g1 = g1 + D;
+ g1 = D + g1;
}
OpenPOWER on IntegriCloud