blob: f60aa09db0c319c96c4299c089c737a2cf203538 [file] [log] [blame]
/* APPLE LOCAL file radar 6017984 */
/* Warn if @implementation does not implement methods declared
in anonymous category's protocol list. */
/* { dg-do compile { target *-*-darwin* } } */
@protocol Bar
- (void) baz;
@end
__attribute__((objc_root_class)) @interface Foo
@end
@interface Foo () <Bar>
@end
@implementation Foo
@end /* { dg-warning "incomplete implementation of class 'Foo'" } */
/* { dg-warning "method definition for '-baz' not found" "" { target *-*-* } 17 } */