Sign in
llvm
/
llvm-project
/
61e353e0b623cef98a8a98f1a9aca60c0142b1ad
/
.
/
clang
/
test
/
ASTMerge
/
generic-selection-expr
/
Inputs
/
generic.c
blob: 41b8d170581192e90769fbd8aaa7904bc887f626 [
file
] [
log
] [
blame
]
void
f
()
{
int
x
;
float
y
;
_Static_assert
(
_Generic
(
x
,
float
:
0
,
int
:
1
),
"Incorrect semantics of _Generic"
);
_Static_assert
(
_Generic
(
y
,
float
:
1
,
int
:
0
),
"Incorrect semantics of _Generic"
);
}