42 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2 3// PR138204// REQUIRES: LP645 6@interface I7@property int IP;8@end9 10@implementation I11@synthesize IP;12- (int) Meth {13 return IP;14}15@end16 17// Test for synthesis of ivar for a property18// declared in continuation class.19@interface OrganizerViolatorView20@end21 22@interface OrganizerViolatorView()23@property (retain) id bindingInfo;24@end25 26@implementation OrganizerViolatorView27@synthesize bindingInfo;28@end29 30// [irgen] crash in synthesized property construction31 32@interface I0 @end33@protocol P0 @end34@interface I1 {35 I0<P0> *iv0;36}37@property (assign, readwrite) id p0;38@end39@implementation I140@synthesize p0 = iv0;41@end42