oops add ~
authorChris Lattner <sabre@nondot.org>
Sun, 10 Apr 2005 03:07:25 +0000 (03:07 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Apr 2005 03:07:25 +0000 (03:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21200 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2005-04-09-ComplexOps.c

index cadf99672c5000fc1a7ead653814113bf533753e..87fd996256006323fdea6f1b66f1f67aa0ff5d76 100644 (file)
@@ -3,4 +3,4 @@
 #include <math.h>
 #define I 1.0iF
 
-double __complex test(double X) { return -(X*I); }
+double __complex test(double X) { return ~-(X*I); }