Sign in
llvm
/
llvm-project
/
clang
/
a3518bacec917188453bef45ddfa05588c1c24f0
/
.
/
test
/
ASTMerge
/
generic-selection-expr
/
Inputs
/
generic.c
blob: 85a0b57e892968ac2c1a42ddaf49413b5eb1efb2 [
file
] [
log
] [
blame
]
void
f
(
void
)
{
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"
);
}