1*67e74705SXin Li// RUN: %clang_cc1 -fsyntax-only -verify %s 2*67e74705SXin Li 3*67e74705SXin Li@interface _Child // expected-note{{'_Child' declared here}} 4*67e74705SXin Li+ (int) flashCache; 5*67e74705SXin Li@end 6*67e74705SXin Li 7*67e74705SXin Li@interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'; did you mean '_Child'?}} 8*67e74705SXin Li+ (int) flushCache2; 9*67e74705SXin Li@end 10*67e74705SXin Li 11*67e74705SXin Li@implementation OtherChild (Categ) // expected-error {{cannot find interface declaration for 'OtherChild'}} 12*67e74705SXin Li+ (int) flushCache2 { [super flashCache]; } // expected-error {{no @interface declaration found in class messaging of 'flushCache2'}} 13*67e74705SXin Li@end 14