1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambucstruct POD { 4*f4a2713aSLionel Sambuc int array[3][4]; 5*f4a2713aSLionel Sambuc id objc_obj; 6*f4a2713aSLionel Sambuc}; 7*f4a2713aSLionel Sambuc 8*f4a2713aSLionel Sambucstruct D { 9*f4a2713aSLionel Sambuc POD pod_array[2][3]; 10*f4a2713aSLionel Sambuc}; 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc@interface I 13*f4a2713aSLionel Sambuc{ 14*f4a2713aSLionel Sambuc D Property1; 15*f4a2713aSLionel Sambuc} 16*f4a2713aSLionel Sambuc@property D Property1; 17*f4a2713aSLionel Sambuc- (D) val; 18*f4a2713aSLionel Sambuc- (void) set : (D) d1; 19*f4a2713aSLionel Sambuc@end 20*f4a2713aSLionel Sambuc 21*f4a2713aSLionel Sambuc@implementation I 22*f4a2713aSLionel Sambuc@synthesize Property1; 23*f4a2713aSLionel Sambuc- (D) val { return Property1; } 24*f4a2713aSLionel Sambuc- (void) set : (D) d1 { Property1 = d1; } 25*f4a2713aSLionel Sambuc@end 26*f4a2713aSLionel Sambuc// CHECK: {{call.*@objc_memmove_collectable}} 27*f4a2713aSLionel Sambuc// CHECK: {{call.*@objc_memmove_collectable}} 28*f4a2713aSLionel Sambuc 29