1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -emit-llvm %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc// rdar://problem/9224855 4*f4a2713aSLionel Sambucid make(void) __attribute__((ns_returns_retained)); 5*f4a2713aSLionel Sambucvoid test0() { 6*f4a2713aSLionel Sambuc make(); 7*f4a2713aSLionel Sambuc id x = 0; 8*f4a2713aSLionel Sambuc // CHECK: call void @objc_release( 9*f4a2713aSLionel Sambuc // CHECK: call void @objc_storeStrong( 10*f4a2713aSLionel Sambuc} 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc// CHECK: declare extern_weak void @objc_release( 13*f4a2713aSLionel Sambuc// CHECK: declare extern_weak void @objc_storeStrong( 14