1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc-only -fblocks -emit-llvm -o - %s | FileCheck %s
6 Test ** __strong objects;
11 void runWithBlock(void(^)(int i));
15 - (void)testWithObjectInBlock {
16 Test **children = objects;
17 runWithBlock(^(int i){
18 children[i] = newObject();
23 // CHECK: call i8* @objc_assign_strongCast
24 // CHECK: call i8* @objc_assign_strongCast