repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2005-04-09-ComplexOps.c
blob
23716d362c9a12bb637e10b8ac76870c70e4cc2c
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
#define I 1.0iF
4
5
double
__complex
test
(
double
X
) {
return
~-(
X
*
I
); }
6
7
_Bool
EQ
(
double
__complex A
,
double
__complex B
) {
return
A
==
B
; }
8
_Bool
NE
(
double
__complex A
,
double
__complex B
) {
return
A
!=
B
; }