blob: 46ccb656b500f27cd06ef2ac63f07da7f74335eb [file] [log] [blame]
/* APPLE LOCAL file 4568791 */
/* Test that ity is OK (no warning) when Derived class does not implement
the method in protocol as long as its super class does. */
/* { dg-do compile } */
@protocol P
- (void)m;
@end
@interface Base
- (void)m;
@end
@interface Derived : Base <P>
@end
@implementation Base
- (void)m {
return;
}
@end
@implementation Derived
@end