[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenObjC / forward-class-impl-metadata.m
blob371abf2ade9cd886d437dcb3c15d65cbf5435379
1 // RUN: %clang_cc1 -emit-llvm -o %t %s
3 @interface BASE  {
4 @private
5     void* _reserved;
7 @end
9 @class PVR;
11 @interface PVRHandldler 
13           PVR *_imageBrowser;
15 @end
17 @implementation PVRHandldler @end
20 @interface PVR   : BASE
21 @end
23 @implementation PVR
24 @end
26 // Reopen of an interface after use.
28 @interface A { 
29 @public 
30   int x; 
31
32 @property int p0;
33 @end
35 int f0(A *a) { 
36   return a.p0; 
39 @implementation A
40 @synthesize p0 = _p0;
41 @end
43 @interface B
44 @end
45 @class B;
46 @implementation B
47 @end