2009-12-15 18:49:47 +00:00
|
|
|
// RUN: clang -cc1 -fsyntax-only -verify %s
|
2009-06-02 17:58:47 +00:00
|
|
|
|
|
|
|
@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
|