• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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
3// RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s
4// RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s
5// expected-no-diagnostics
6
7// CHECK: @class X;
8// CHECK: struct Y
9// CHECK: @property ( assign,readwrite,atomic ) X * prop
10// CHECK: void h(X *);
11// CHECK: @interface X(Blah)
12// CHECK: void g(X *);
13
14