1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/FrontendC/2005-04-09-ComplexOps.c
Anton Korobeynikov eb3cd5e822 For PR1338: Rename test dirs
llvm-svn: 51695
2008-05-29 19:17:15 +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; }