Douglas Gregor | 9747583 | 2010-10-05 18:37:06 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t1 %S/Inputs/chain-remap-types1.h |
| 2 | // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-pch %t1 -chained-pch |
| 3 | // RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s |
| 4 | // RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s |
| 5 | |
| 6 | // CHECK: @class X; |
| 7 | // CHECK: struct Y |
| 8 | // CHECK: @property ( assign,readwrite ) X * prop |
| 9 | // CHECK: void h(X *); |
| 10 | // CHECK: @interface X(Blah) |
| 11 | // CHECK: void g(X *); |
| 12 | |