llvm-for-llvmta/tools/clang/test/CodeGen/2005-04-09-ComplexOps.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

9 lines
245 B
C

// RUN: %clang_cc1 %s -emit-llvm -o -
#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; }