2012-10-25 18:18:50 +08:00
|
|
|
// 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;
|
|
|
|
}
|
|
|
|
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DISubprogram(name: "__Block_byref_object_copy_",
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: line: 10,
|
|
|
|
// CHECK-SAME: isLocal: true, isDefinition: true
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DISubprogram(name: "__Block_byref_object_dispose_",
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: line: 10,
|
|
|
|
// CHECK-SAME: isLocal: true, isDefinition: true
|