mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 14:26:08 +00:00

Update testcases for LLVM change in r231082 to use the new debug info hierarchy. llvm-svn: 231083
19 lines
470 B
C++
19 lines
470 B
C++
// 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: !MDSubprogram(name: "__Block_byref_object_copy_",
|
|
// CHECK-SAME: line: 10,
|
|
// CHECK-SAME: isLocal: true, isDefinition: true
|
|
// CHECK: !MDSubprogram(name: "__Block_byref_object_dispose_",
|
|
// CHECK-SAME: line: 10,
|
|
// CHECK-SAME: isLocal: true, isDefinition: true
|