1 // RUN: %clang_cc1 %s -fblocks -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
3 typedef void (^dispatch_block_t
)(void);
5 void dispatch_once(dispatch_block_t
);
23 class X
: public virtual Zone
{
39 // CHECK-LABEL: define internal void @___ZN4ZoneC2Ev_block_invoke
40 // CHECK-LABEL: define internal void @___ZN4ZoneC2Ev_block_invoke_
41 // CHECK-LABEL: define internal void @___ZN4ZoneD2Ev_block_invoke
42 // CHECK-LABEL: define internal void @___ZN4ZoneD2Ev_block_invoke_
43 // CHECK-LABEL: define internal void @___ZN1XC2Ev_block_invoke
44 // CHECK-LABEL: define internal void @___ZN1XC2Ev_block_invoke_
45 // CHECK-LABEL: define internal void @___ZN1XD2Ev_block_invoke
46 // CHECK-LABEL: define internal void @___ZN1XD2Ev_block_invoke_