blob: b18190894be7a50bbed5edb9aee43793e28801b6 [file] [log] [blame]
Fariborz Jahaniancc9c5452008-01-25 17:43:39 +00001// RUN: clang -fsyntax-only -verify %s
2
3@interface I
4- (id) retain;
5@end
6
7void __raiseExc1() {
8 [objc_lookUpClass("NSString") retain]; // expected-error {{ "bad receiver type (its type is 'int')" }}
9}