Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9901c57806f7e36736ed1616e6ab3eebcc99b78c
/
.
/
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
);
}