brintos

brintos / llvm-project-archived public Read only

0
0
Text · 393 B · 464865d Raw
13 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -emit-llvm %s -o - | FileCheck %s2 3id make(void) __attribute__((ns_returns_retained));4void test0(void) {5  make();6  id x = 0;7  // CHECK: call void @llvm.objc.release(8  // CHECK: call void @llvm.objc.storeStrong(9}10 11// CHECK: declare extern_weak void @llvm.objc.release(12// CHECK: declare extern_weak void @llvm.objc.storeStrong(13