blob: 03c0c06a41eeae593405d21c6e60ebe7cec97549 [file] [log] [blame]
John McCalld1e40d52011-10-02 01:16:38 +00001// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-fragile-abi -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