1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CFrontend/2005-04-09-ComplexOps.c
2007-01-17 07:59:14 +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; }