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 |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 5 | // expected-no-diagnostics |
Douglas Gregor | 9747583 | 2010-10-05 18:37:06 +0000 | [diff] [blame] | 6 | |
| 7 | // CHECK: @class X; |
| 8 | // CHECK: struct Y |
John McCall | 265941b | 2011-09-13 18:31:23 +0000 | [diff] [blame] | 9 | // CHECK: @property ( assign,readwrite,atomic ) X * prop |
Douglas Gregor | 9747583 | 2010-10-05 18:37:06 +0000 | [diff] [blame] | 10 | // CHECK: void h(X *); |
| 11 | // CHECK: @interface X(Blah) |
| 12 | // CHECK: void g(X *); |
| 13 | |