1*f4a2713aSLionel Sambuc typedef struct objc_selector *SEL; 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc @interface Foo 4*f4a2713aSLionel Sambuc - (void) NotOK; 5*f4a2713aSLionel Sambuc @end 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc @implementation Foo 8*f4a2713aSLionel Sambuc - (void) foo 9*f4a2713aSLionel Sambuc { 10*f4a2713aSLionel Sambuc SEL a = @selector(b1ar); 11*f4a2713aSLionel Sambuc a = @selector(b1ar); 12*f4a2713aSLionel Sambuc a = @selector(bar); 13*f4a2713aSLionel Sambuc a = @selector(ok); // expected-warning {{unimplemented selector 'ok'}} 14*f4a2713aSLionel Sambuc a = @selector(ok); 15*f4a2713aSLionel Sambuc a = @selector(NotOK); // expected-warning {{unimplemented selector 'NotOK'}} 16*f4a2713aSLionel Sambuc a = @selector(NotOK); 17*f4a2713aSLionel Sambuc 18*f4a2713aSLionel Sambuc a = @selector(clNotOk); // expected-warning {{unimplemented selector 'clNotOk'}} 19*f4a2713aSLionel Sambuc 20*f4a2713aSLionel Sambuc a = @selector (cl1); 21*f4a2713aSLionel Sambuc a = @selector (cl2); 22*f4a2713aSLionel Sambuc a = @selector (instNotOk); // expected-warning {{unimplemented selector 'instNotOk'}} 23*f4a2713aSLionel Sambuc } 24*f4a2713aSLionel Sambuc @end 25