blob: b8ce10aaa510513a89a5372edebd962d42d49686 [file] [log] [blame]
Daniel Dunbar6a3b29e2009-04-24 02:38:10 +00001// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o %t %s
Fariborz Jahanianebf9ed32009-03-20 20:48:19 +00002
3@interface BASE {
4@private
5 void* _reserved;
6}
7@end
8
9@class PVR;
10
11@interface PVRHandldler
12{
13 PVR *_imageBrowser;
14}
15@end
16
17@implementation PVRHandldler @end
18
19
20@interface PVR : BASE
21@end
22
23@implementation PVR
24@end
Daniel Dunbar6a3b29e2009-04-24 02:38:10 +000025
26// Reopen of an interface after use.
27
28@interface A {
29@public
30 int x;
31}
32@property int p0;
33@end
34
35int f0(A *a) {
36 return a.p0;
37}
38
39@implementation A
40@synthesize p0 = _p0;
41@end