blob: 7886332fafe738e187e9d7d0ea5efb68b91cd7a8 [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
Douglas Gregorb5af8432011-08-25 22:54:01 +00002// RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-pch %t1
Douglas Gregor97475832010-10-05 18:37:06 +00003// 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