Fariborz Jahanian | 0b2bd47 | 2010-04-13 00:38:05 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -emit-llvm -o - %s | FileCheck -check-prefix LP64 %s |
2 | // rdar: // 7849824 | ||||
3 | |||||
4 | struct s { | ||||
5 | double a, b, c, d; | ||||
6 | }; | ||||
7 | |||||
8 | @interface A | ||||
9 | @property (readwrite) double x; | ||||
10 | @property (readwrite) struct s y; | ||||
11 | @end | ||||
12 | |||||
13 | @implementation A | ||||
14 | @synthesize x; | ||||
15 | @synthesize y; | ||||
16 | @end | ||||
17 | |||||
18 | // CHECK-LP64: call void @objc_copyStruct | ||||
19 | // CHECK-LP64: call void @objc_copyStruct |