1 // RUN: %clang_cc1 %s -emit-llvm -fobjc-runtime=ios-6.0.0 -triple thumbv7-apple-ios6.0.0 -o - | FileCheck %s
5 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
6 // objc_setProperty(..., NO, NO)
7 @property (nonatomic, retain) id nonatomicProperty;
9 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
10 // objc_setProperty(..., NO, YES)
11 @property (nonatomic, copy) id nonatomicPropertyCopy;
13 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset);
14 // objc_setProperty(..., YES, NO)
15 @property (retain) id atomicProperty;
17 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
18 // objc_setProperty(..., YES, YES)
19 @property (copy) id atomicPropertyCopy;
23 @synthesize nonatomicProperty;
24 @synthesize nonatomicPropertyCopy;
25 @synthesize atomicProperty;
26 @synthesize atomicPropertyCopy;
29 // CHECK: call void @objc_setProperty_nonatomic
30 // CHECK: call void @objc_setProperty_nonatomic_copy
31 // CHECK: call void @objc_setProperty_atomic
32 // CHECK: call void @objc_setProperty_atomic_copy