blob: 0ab7a8166453159f084ecf812bc9b62793ba6f84 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fobjc-nonfragile-abi -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