10 lines
155 B
C++
10 lines
155 B
C++
// 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);
|
|
}
|