summaryrefslogtreecommitdiff
path: root/clang/test/PCH/chain-remap-types.m
blob: 585da448650263d2ac5f91d5d3b3e2d15d1fa7fa (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t1 %S/Inputs/chain-remap-types1.h
// RUN: %clang_cc1 -emit-pch -x objective-c-header -o %t2 %S/Inputs/chain-remap-types2.h -include-pch %t1
// RUN: %clang_cc1 -include-pch %t2 -fsyntax-only -verify %s
// RUN: %clang_cc1 -ast-print -include-pch %t2 %s | FileCheck %s

// CHECK: @class X;
// CHECK: struct Y 
// CHECK: @property ( assign,readwrite,atomic ) X * prop
// CHECK: void h(X *);
// CHECK: @interface X(Blah)
// CHECK: void g(X *);