xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/block-destruct.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 %s -fblocks -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
2 
3 struct A { ~A(); };
4 
f()5 void f() {
6   __block A a;
7 }
8 
9 // CHECK: call void @_ZN1AD1Ev
10