You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
528 B

// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
struct POD {
int array[3][4];
id objc_obj;
};
struct D {
POD pod_array[2][3];
};
@interface I
{
D Property1;
}
@property D Property1;
- (D) val;
- (void) set : (D) d1;
@end
@implementation I
@synthesize Property1;
- (D) val { return Property1; }
- (void) set : (D) d1 { Property1 = d1; }
@end
// CHECK: {{call.*@objc_memmove_collectable}}
// CHECK: {{call.*@objc_memmove_collectable}}