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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
ASTMerge
/
generic-selection-expr
/
Inputs
/
generic.c
blob
85a0b57e892968ac2c1a42ddaf49413b5eb1efb2
1
void
f
(
void
) {
2
int
x
;
3
float
y
;
4
_Static_assert
(
_Generic
(
x
,
float
:
0
,
int
:
1
),
"Incorrect semantics of _Generic"
);
5
_Static_assert
(
_Generic
(
y
,
float
:
1
,
int
:
0
),
"Incorrect semantics of _Generic"
);
6
}