clang-1/test/CodeGenObjC/synthesize_ivar-cont-class.m

19 строки
452 B
Mathematica
Исходник Обычный вид История

// 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