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 |
Douglas Gregor | b5af843 | 2011-08-25 22:54:01 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-pch %t1 |
Douglas Gregor | 9747583 | 2010-10-05 18:37:06 +0000 | [diff] [blame] | 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 |
John McCall | 265941b | 2011-09-13 18:31:23 +0000 | [diff] [blame^] | 8 | // CHECK: @property ( assign,readwrite,atomic ) X * prop |
Douglas Gregor | 9747583 | 2010-10-05 18:37:06 +0000 | [diff] [blame] | 9 | // CHECK: void h(X *); |
| 10 | // CHECK: @interface X(Blah) |
| 11 | // CHECK: void g(X *); |
| 12 | |