Allow resolving headers from a PCH even after headers+PCH were moved to another path.
[clang.git] / test / SemaObjC / undef-class-messagin-error.m
blob63e0b9dec32947547a00b4564b6a1f7684507db7
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface _Child // expected-note{{'_Child' declared here}}
4 + (int) flashCache;
5 @end
7 @interface Child (Categ) // expected-error {{cannot find interface declaration for 'Child'; did you mean '_Child'?}}
8 + (int) flushCache2;
9 @end
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 @end