aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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); }