llvm-6502/test/CFrontend/2005-04-09-ComplexOps.c
Chris Lattner a213bc2146 oops add ~
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21200 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-10 03:07:25 +00:00

7 lines
111 B
C

// %llvmgcc %s -S -o -
#include <math.h>
#define I 1.0iF
double __complex test(double X) { return ~-(X*I); }