summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/complex.c
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-13 23:40:27 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-13 23:40:27 +0000
commit03a0073b3666ad17145dbfc6ad9676e78056a9b8 (patch)
treecf4cbadac15bcc3f2a8dbb5f330d150a022f403e /clang/test/CodeGen/complex.c
parentd4606aa36e1ac288b92bfe8f576ab589727ce3d9 (diff)
downloadbcm5719-llvm-03a0073b3666ad17145dbfc6ad9676e78056a9b8.tar.gz
bcm5719-llvm-03a0073b3666ad17145dbfc6ad9676e78056a9b8.zip
fix type of main, use !=
llvm-svn: 39842
Diffstat (limited to 'clang/test/CodeGen/complex.c')
-rw-r--r--clang/test/CodeGen/complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c
index 30793aaf9e7..075f47c761c 100644
--- a/clang/test/CodeGen/complex.c
+++ b/clang/test/CodeGen/complex.c
@@ -1,10 +1,10 @@
// RUN: clang -emit-llvm %s
// XFAIL: *
-void main(void)
+int main(void)
{
double _Complex a = 5;
double _Complex b = 42;
- return a * b == b * a;
+ return a * b != b * a;
}
OpenPOWER on IntegriCloud