1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck %s
8 @property (readwrite, weak) id representedObject;
9 @property (readwrite, weak) id wObject;
10 @property (readwrite, weak) __weak id wRandom;
11 @property (readwrite, assign) __weak id wAnother;
15 @synthesize representedObject;
20 // CHECK: call i8* @objc_read_weak
21 // CHECK: call i8* @objc_assign_weak
22 // CHECK: call i8* @objc_read_weak
23 // CHECK: call i8* @objc_assign_weak
24 // CHECK: call i8* @objc_read_weak
25 // CHECK: call i8* @objc_assign_weak
26 // CHECK: call i8* @objc_read_weak
27 // CHECK: call i8* @objc_assign_weak