blob: bd419293daf032755b73e965c09a82bca0e24b1e [file] [log] [blame]
Fariborz Jahaniancad910d2010-07-23 20:32:57 +00001typedef struct objc_selector *SEL;
2
3@interface Foo
4- (void) NotOK;
5@end
6
7@implementation Foo
8- (void) foo
9{
10 SEL a = @selector(b1ar);
11 a = @selector(b1ar);
12 a = @selector(bar);
13 a = @selector(ok); // expected-warning {{unimplemented selector 'ok'}}
14 a = @selector(ok);
15 a = @selector(NotOK); // expected-warning {{unimplemented selector 'NotOK'}}
16 a = @selector(NotOK);
17
18 a = @selector(clNotOk); // expected-warning {{unimplemented selector 'clNotOk'}}
19
20 a = @selector (cl1);
21 a = @selector (cl2);
22 a = @selector (instNotOk); // expected-warning {{unimplemented selector 'instNotOk'}}
23}
24@end