summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/synthesize_ivar-cont-class.m
blob: 6bc7ac8170efc5c4dd8bfc670f3bcaefc4c2a015 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: %clang_cc1 -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