1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s
3 // CHECK-LABEL: define{{.*}} ptr @_Z4foo1i(
4 // CHECK: %[[CALL:[a-z0-9]+]] = call noundef ptr @_Z4foo0i
5 // CHECK: ret ptr %[[CALL]]
7 // CHECK-LABEL: define{{.*}} ptr @_ZN2S22m1Ev(
8 // CHECK: %[[CALL:[a-z0-9]+]] = call noundef ptr @_Z4foo0i
9 // CHECK: ret ptr %[[CALL]]
11 // CHECK-LABEL: define internal noundef ptr @Block1_block_invoke(
12 // CHECK: %[[CALL:[a-z0-9]+]] = call noundef ptr @_Z4foo0i
13 // CHECK: ret ptr %[[CALL]]
17 typedef __attribute__((NSObject)) struct __attribute__((objc_bridge(id))) S1 * S1Ref;
33 S1Ref (^Block1)(void) = ^{