blob: 6a2f30d33e5eb350b43baaeaf7d5e4c20c9ae517 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -fsyntax-only -verify %s
Sebastian Redl95389dd2009-01-19 21:37:51 +00002
3void choice(int);
4int choice(bool);
5
6void test() {
7 // Result of ! must be type bool.
8 int i = choice(!1);
9}