llvm-project/clang/test/CodeGenObjC/synthesize_ivar.m

28 lines
443 B
Mathematica
Raw Normal View History

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