blob: 8962c536ea29d119fa74ebe467579c5bb3a9fa92 [file] [log] [blame]
Fariborz Jahanian2a711072010-06-15 23:49:10 +00001// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
2
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