1 // RUN: %clang_cc1 -fobjc-nonfragile-abi -emit-llvm -o %t %s 2 3 @interface I 4 @property int IP; 5 @end 6 7 @implementation I 8 @synthesize IP; 9 - (int) Meth { 10 return IP; 11 } 12 @end 13 14 // Test for synthesis of ivar for a property 15 // declared in continuation class. 16 @interface OrganizerViolatorView 17 @end 18 19 @interface OrganizerViolatorView() 20 @property (retain) id bindingInfo; 21 @end 22 23 @implementation OrganizerViolatorView 24 @synthesize bindingInfo; 25 @end 26 27 // <rdar://problem/7336352> [irgen] crash in synthesized property construction 28 29 @interface I0 @end 30 @protocol P0 @end 31 @interface I1 { 32 I0<P0> *iv0; 33 } 34 @property (assign, readwrite) id p0; 35 @end 36 @implementation I1 37 @synthesize p0 = iv0; 38 @end 39