aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjC/synthesize_ivar.m
blob: 7646f707bf76192580263a255cd8184885c87cb3 (plain) (blame)
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
// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o %t %s

@interface I
{
}
@property int IP;
@end

@implementation I
@synthesize IP;
- (int) Meth {
   return IP;
}
@end

// Test for synthesis of ivar for a property
// declared in continuation class.
@interface OrganizerViolatorView
@end

@interface OrganizerViolatorView()
@property (retain) id bindingInfo;
@end

@implementation OrganizerViolatorView
@synthesize bindingInfo;
@end