brintos

brintos / llvm-project-archived public Read only

0
0
Text · 609 B · bd41929 Raw
25 lines · c
1typedef struct objc_selector    *SEL;2 3@interface Foo 4- (void) NotOK;5@end6 7@implementation Foo8- (void) foo9{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@end25