summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/synthesize_ivar-cont-class.m
blob: 2691ccfe3d70c2952029dede54595e2db7cc7966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o %t %s
// RUN: grep '@"OBJC_IVAR_$_XCOrganizerDeviceNodeInfo.viewController"' %t

@interface XCOrganizerNodeInfo
@property (readonly, retain) id viewController;
@end

@interface XCOrganizerDeviceNodeInfo : XCOrganizerNodeInfo
@end

@interface XCOrganizerDeviceNodeInfo()
@property (retain) id viewController;
@end

@implementation XCOrganizerDeviceNodeInfo
@synthesize viewController;
@end

OpenPOWER on IntegriCloud