https://github.com/epiqc/ScaffCC
Revision 067cc59bd7a234226b81962ea78260b95061620b authored by ah744 on 01 February 2017, 21:14:46 UTC, committed by ah744 on 01 February 2017, 21:14:46 UTC
1 parent 801b6f9
Raw File
Tip revision: 067cc59bd7a234226b81962ea78260b95061620b authored by ah744 on 01 February 2017, 21:14:46 UTC
Afree() Implemetation Complete
Tip revision: 067cc59
selector-warning.h
typedef struct objc_selector    *SEL;

@interface Foo 
- (void) NotOK;
@end

@implementation Foo
- (void) foo
{
  SEL a = @selector(b1ar); 
  a = @selector(b1ar); 
  a = @selector(bar);
  a = @selector(ok);	// expected-warning {{unimplemented selector 'ok'}}
  a = @selector(ok);
  a = @selector(NotOK);	// expected-warning {{unimplemented selector 'NotOK'}}
  a = @selector(NotOK);

  a = @selector(clNotOk);	// expected-warning {{unimplemented selector 'clNotOk'}}

  a = @selector (cl1);
  a = @selector (cl2);
  a = @selector (instNotOk);	// expected-warning {{unimplemented selector 'instNotOk'}}
}
@end
back to top