aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2005-04-09-ComplexOps.c
blob: 2962b74553447d153e65c7aa1449df945f9909a2 (plain)
1
2
3
4
5
6
7
8
9
// 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; }