Sign in
llvm
/
llvm-project
/
clang
/
05dda9e3a2d8773e00b8c8be668ef8919bd3ea04
/
.
/
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"
);
}