[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-block-invocation-linkage-name.cpp
blob5fadae9b439fbbac4226001d77d0a4bc408fc82d
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -fblocks -triple %itanium_abi_triple %s -o - | FileCheck %s
3 // CHECK: !DISubprogram(name: "___Z1fU13block_pointerFviE_block_invoke", linkageName: "___Z1fU13block_pointerFviE_block_invoke"
4 void g(void (^call)(int));
6 void f(void (^callback)(int)) {
7 g(^(int x) {
8 callback(x);
9 });
12 void h() {
13 f(^(int x){
14 });