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