blob: cd327c22ca251a599c6bdbe4758b84e907f0b53c [file] [log] [blame]
Fariborz Jahanian97a73cd2010-05-06 15:45:36 +00001// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2// CHECK: call void @_ZN1SC1ERKS_
3// CHECK: call %class.S* @_ZN1SaSERKS_
4
5class S {
6public:
7 S& operator = (const S&);
8 S (const S&);
9 S ();
10};
11
12@interface I {
13 S position;
14}
15@property(assign, nonatomic) S position;
16@end
17
18@implementation I
19@synthesize position;
20@end
Fariborz Jahanianbbb52242010-05-07 18:56:13 +000021
22int main() {
23 I *i;
24 S s1;
25 i.position = s1;
26 return 0;
27}
28