2009-04-01 10:55:21 +08:00
|
|
|
// RUN: clang-cc -triple x86_64-apple-darwin10 -emit-llvm -o %t %s
|
2009-04-01 02:11:23 +08:00
|
|
|
|
|
|
|
@interface I
|
|
|
|
{
|
|
|
|
}
|
|
|
|
@property int IP;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation I
|
|
|
|
@synthesize IP;
|
|
|
|
- (int) Meth {
|
|
|
|
return IP;
|
|
|
|
}
|
|
|
|
@end
|
2009-04-02 03:37:34 +08:00
|
|
|
|
|
|
|
// 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
|