14 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3@interface _Child // expected-note{{'_Child' declared here}}4+ (int) flashCache;5@end6 7@interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'; did you mean '_Child'?}}8+ (int) flushCache2;9@end10 11@implementation OtherChild (Categ) // expected-error {{cannot find interface declaration for 'OtherChild'}}12+ (int) flushCache2 { [super flashCache]; } // expected-error {{no @interface declaration found in class messaging of 'flushCache2'}}13@end14