blob: 8376a5ced7acad9e90de5baffa19028536888e8e [file] [log] [blame]
Fariborz Jahanian1dad5b22008-01-25 17:43:39 +00001// RUN: clang -fsyntax-only -verify %s
2
3@interface I
4- (id) retain;
5@end
6
7void __raiseExc1() {
Chris Lattner6e10a082008-02-01 06:57:39 +00008 [objc_lookUpClass("NSString") retain]; // expected-error {{ "bad receiver type 'int'" }}
Fariborz Jahanian1dad5b22008-01-25 17:43:39 +00009}