Mercurial > hg > CbC > CbC_llvm
annotate clang/test/PCH/chain-predecl.m @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 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 |