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