blob: b2ca85c4ca92cb199058c059a9566753b4fd282e [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
Fariborz Jahanian2a711072010-06-15 23:49:10 +00002
3struct POD {
4 int array[3][4];
5 id objc_obj;
6};
7
8struct D {
9 POD pod_array[2][3];
10};
11
12@interface I
13{
14 D Property1;
15}
16@property D Property1;
17- (D) val;
18- (void) set : (D) d1;
19@end
20
21@implementation I
22@synthesize Property1;
23- (D) val { return Property1; }
24- (void) set : (D) d1 { Property1 = d1; }
25@end
26// CHECK: {{call.*@objc_memmove_collectable}}
27// CHECK: {{call.*@objc_memmove_collectable}}
28