xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-no-runtime.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-arc -emit-llvm %s -o - | FileCheck %s
2
3// rdar://problem/9224855
4id make(void) __attribute__((ns_returns_retained));
5void test0() {
6  make();
7  id x = 0;
8  // CHECK: call void @objc_release(
9  // CHECK: call void @objc_storeStrong(
10}
11
12// CHECK: declare extern_weak void @objc_release(
13// CHECK: declare extern_weak void @objc_storeStrong(
14