summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/block-destruct.cpp
blob: f809ca2699dea98afd9c87657cb5f35569570bec (about) (plain)
1
2
3
4
5
6
7
8
9
// 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