1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/CFrontend/2005-04-09-ComplexOps.c

10 lines
253 B
C
Raw Normal View History

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