blob: a45a79d75c7f222a5d7173f84672e006b25a07e7 [file] [log] [blame]
Douglas Gregor97475832010-10-05 18:37:06 +00001// 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