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