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