blob: ec68950cb33845c26ae3235eca49bc40d76edcb9 [file] [log] [blame]
@interface MyClass1
@end
@protocol P
- (void) Pmeth; // expected-warning {{method definition for 'Pmeth' not found}}
- (void) Pmeth1; // expected-warning {{method definition for 'Pmeth1' not found}}
@end
@interface MyClass1(CAT) <P>
- (void) meth2; // expected-warning {{method definition for 'meth2' not found}}
@end
@implementation MyClass1(CAT)
- (void) Pmeth1{}
@end // expected-warning {{incomplete implementation of category 'CAT'}}
@interface MyClass1(DOG) <P>
- (void)ppp; // expected-warning {{method definition for 'ppp' not found}}
@end
@implementation MyClass1(DOG)
- (void) Pmeth {}
@end // expected-warning {{incomplete implementation of category 'DOG'}}
@implementation MyClass1(CAT1)
@end