summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/forward-class-impl-metadata.m
blob: b8ce10aaa510513a89a5372edebd962d42d49686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o %t %s

@interface BASE  {
@private
    void* _reserved;
}
@end

@class PVR;

@interface PVRHandldler 
{
          PVR *_imageBrowser;
}
@end

@implementation PVRHandldler @end


@interface PVR   : BASE
@end

@implementation PVR
@end

// Reopen of an interface after use.

@interface A { 
@public 
  int x; 
} 
@property int p0;
@end

int f0(A *a) { 
  return a.p0; 
}

@implementation A
@synthesize p0 = _p0;
@end
OpenPOWER on IntegriCloud