Sign in
llvm
/
llvm-project
/
clang
/
e3884de8cec1b4b0c858cbbafae4dd85efa48fb6
/
.
/
test
/
SemaCXX
/
expressions.cpp
blob: 6a2f30d33e5eb350b43baaeaf7d5e4c20c9ae517 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
void
choice
(
int
);
int
choice
(
bool
);
void
test
()
{
// Result of ! must be type bool.
int
i
=
choice
(!
1
);
}