1 // RUN: %clang_cc1 %s -fblocks -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
5 extern "C" void *_Block_copy(const void *aBlock
);
6 extern "C" void _Block_release(const void *aBlock
);
22 void (^c
)(void) = ((__typeof(^{ a
.hello(); }))_Block_copy((const void *)(^{ a
.hello(); })));
24 _Block_release((const void *)(c
));
28 // CHECK: define internal void @__copy_helper_block_
29 // CHECK: call void @_ZN1AC1ERKS_
32 // CHECK:define internal void @__destroy_helper_block_
33 // CHECK: call void @_ZN1AD1Ev