blob: ed0d659eeae1854be344d5db4dae2af842c36b2c [file] [log] [blame]
Douglas Katzman3459ce22015-10-08 04:24:12 +00001// RUN: %clang_cc1 %s -debug-info-kind=line-tables-only -fblocks -S -emit-llvm -o - | FileCheck %s
Alexey Samsonov9b502e52012-10-25 10:18:50 +00002
3struct A {
4 A();
5 A(const A &);
6 ~A();
7};
8
9void test() {
10 __block A a;
11}
12
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +000013// CHECK: !DISubprogram(name: "__Block_byref_object_copy_",
Duncan P. N. Exon Smithf04be1f2015-03-03 17:25:55 +000014// CHECK-SAME: line: 10,
15// CHECK-SAME: isLocal: true, isDefinition: true
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +000016// CHECK: !DISubprogram(name: "__Block_byref_object_dispose_",
Duncan P. N. Exon Smithf04be1f2015-03-03 17:25:55 +000017// CHECK-SAME: line: 10,
18// CHECK-SAME: isLocal: true, isDefinition: true