diff options
Diffstat (limited to 'test/PCH/chain-selectors.m')
-rw-r--r-- | test/PCH/chain-selectors.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/PCH/chain-selectors.m b/test/PCH/chain-selectors.m index 60db3f9..3b19172 100644 --- a/test/PCH/chain-selectors.m +++ b/test/PCH/chain-selectors.m @@ -22,3 +22,19 @@ void bar() { (void)@selector(y); // expected-warning {{unimplemented selector}} (void)@selector(e); // expected-warning {{unimplemented selector}} } + +@implementation X (Blah) +- (void)test_Blah { + [self blah_method]; +} + +- (void)blah_method { } +@end + +@implementation X (Blarg) +- (void)test_Blarg { + [self blarg_method]; +} + +- (void)blarg_method { } +@end |