Sign in
cobalt
/
cobalt
/
dc98e529721071ac658df8d497cd103ceb8762c1
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
2005-04-09-ComplexOps.c
blob: 23716d362c9a12bb637e10b8ac76870c70e4cc2c [
file
] [
log
] [
blame
]
// 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
;
}