summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/debug-info-blocks.cpp
blob: 5b20db5828032dcb6963b4134f3b81b0dfa3ed3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 %s -gline-tables-only -fblocks -S -emit-llvm -o - | FileCheck %s

struct A {
  A();
  A(const A &);
  ~A();
};

void test() {
  __block A a;
}

// CHECK: [ DW_TAG_subprogram ] [line 10] [local] [def] [__Block_byref_object_copy_]
// CHECK: [ DW_TAG_subprogram ] [line 10] [local] [def] [__Block_byref_object_dispose_]
OpenPOWER on IntegriCloud