Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame^] | 2 | // expected-no-diagnostics |
Fariborz Jahanian | 1f7711d | 2009-12-11 21:23:13 +0000 | [diff] [blame] | 3 | |
4 | @class NSString; | ||||
5 | id a; | ||||
6 | NSString *b; | ||||
7 | |||||
8 | void f() { | ||||
9 | bool b1 = a; | ||||
10 | bool b2 = b; | ||||
11 | } | ||||
12 | |||||
13 |