Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
95389dd07343c0b17612329ac1e586776eb13ecf
/
.
/
test
/
SemaCXX
/
expressions.cpp
blob: 23983a1dbd0b0958162ffc46064c86592d1da907 [
file
] [
log
] [
blame
]
Sebastian Redl
95389dd
2009-01-19 21:37:51 +0000
[
diff
] [
blame^
]
1
// RUN: clang -fsyntax-only -verify %s
2
3
void
choice
(
int
);
4
int
choice
(
bool
);
5
6
void
test
()
{
7
// Result of ! must be type bool.
8
int
i
=
choice
(!
1
);
9
}