1 // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 | FileCheck %s
3 typedef void (^BLOCK
)(void);
14 // CHECK-LABEL: define internal void @__main_block_invoke
15 // CHECK: [[C1:%.*]] = alloca { double, double }, align 8
16 // CHECK: [[RP:%.*]] = getelementptr inbounds nuw { double, double }, ptr [[C1]], i32 0, i32 0
17 // CHECK-NEXT: [[R:%.*]] = load double, ptr [[RP]]
18 // CHECK-NEXT: [[IP:%.*]] = getelementptr inbounds nuw { double, double }, ptr [[C1]], i32 0, i32 1
19 // CHECK-NEXT: [[I:%.*]] = load double, ptr [[IP]]