[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / chain-predecl.m
blob6723b6f6f2531cfbaf780d659e9de5f70d73be91
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
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