brintos

brintos / llvm-project-archived public Read only

0
0
Text · 528 B · b2ca85c Raw
29 lines · plain
1// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s2 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 I13{14  D Property1;15}16@property D Property1;17- (D) val;18- (void) set : (D) d1;19@end20 21@implementation I22@synthesize Property1;23- (D) val { return Property1; }24- (void) set : (D) d1 { Property1 = d1; }25@end26// CHECK: {{call.*@objc_memmove_collectable}}27// CHECK: {{call.*@objc_memmove_collectable}}28 29