blob: 6d162ac4e21b009c25b7bee6a40df6fca8a4d749 [file] [log] [blame]
// RUN: clang -fsyntax-only -verify %s
@interface _Child
+ (int) flashCache;
@end
@interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'}}
+ (int) flushCache2;
@end
@implementation Child (Categ) // expected-error {{cannot find interface declaration for 'Child'}}
+ (int) flushCache2 { [super flashCache]; } // expected-error {{no @interface declaration found in class messaging of 'flushCache2'}}
@end