1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Regression/CFrontend/2005-04-09-ComplexOps.c
Reid Spencer b2888f6712 Add the RUN: prefix to the start of the run line so this test doesn't fail.
BTW .. isn't the date on this funky? We haven't reachec 2005-05-09 yet???

llvm-svn: 21432
2005-04-22 02:49:25 +00:00

10 lines
253 B
C

// RUN: %llvmgcc %s -S -o -
#include <math.h>
#define I 1.0iF
double __complex test(double X) { return ~-(X*I); }
_Bool EQ(double __complex A, double __complex B) { return A == B; }
_Bool NE(double __complex A, double __complex B) { return A != B; }