summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-10 03:07:25 +0000
committerChris Lattner <sabre@nondot.org>2005-04-10 03:07:25 +0000
commita213bc2146bf3f37717b9b4fb72b943ab29c422c (patch)
tree320fe5f32b3c4002d488d547b80377e865bcfc1c /test/CFrontend
parentd2b0e710d6daa252b9f53d32e6fd917d12ce2f1e (diff)
downloadllvm-a213bc2146bf3f37717b9b4fb72b943ab29c422c.tar.gz
llvm-a213bc2146bf3f37717b9b4fb72b943ab29c422c.tar.bz2
llvm-a213bc2146bf3f37717b9b4fb72b943ab29c422c.tar.xz
oops add ~
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2005-04-09-ComplexOps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/2005-04-09-ComplexOps.c b/test/CFrontend/2005-04-09-ComplexOps.c
index cadf99672c..87fd996256 100644
--- a/test/CFrontend/2005-04-09-ComplexOps.c
+++ b/test/CFrontend/2005-04-09-ComplexOps.c
@@ -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); }