1*67e74705SXin Li// RUN: %clang_cc1 -emit-pch -o %t1 %S/chain-predecl.h -x objective-c 2*67e74705SXin Li// RUN: %clang_cc1 -emit-pch -o %t2 %s -x objective-c -include-pch %t1 3*67e74705SXin Li 4*67e74705SXin Li// Test predeclarations across chained PCH. 5*67e74705SXin Li@interface Foo 6*67e74705SXin Li-(void)bar; 7*67e74705SXin Li@end 8*67e74705SXin Li@interface Boom 9*67e74705SXin Li-(void)bar; 10*67e74705SXin Li@end 11*67e74705SXin Li@protocol Pro 12*67e74705SXin Li-(void)baz; 13*67e74705SXin Li@end 14*67e74705SXin Li@protocol Kaboom 15*67e74705SXin Li-(void)baz; 16*67e74705SXin Li@end 17