blob: 13f2e39b148d6cd02d2d55338be5fa11124b5944 [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
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00005// expected-no-diagnostics
Douglas Gregor97475832010-10-05 18:37:06 +00006
7// CHECK: @class X;
8// CHECK: struct Y
John McCall265941b2011-09-13 18:31:23 +00009// CHECK: @property ( assign,readwrite,atomic ) X * prop
Douglas Gregor97475832010-10-05 18:37:06 +000010// CHECK: void h(X *);
11// CHECK: @interface X(Blah)
12// CHECK: void g(X *);
13