llvm-project/clang/test/CodeGenCXX/block-destruct.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
172 B
C++
Raw Normal View History

// RUN: %clang_cc1 %s -fblocks -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
struct A { ~A(); };
void f() {
__block A a;
}
// CHECK: call void @_ZN1AD1Ev