[AMDGPU][True16][MC] update VOP1 dasm test with latest script (#120281)
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-inlined.cpp
blobd73a8a67f2cc437264d2e082afe3f81dad6b3e60
1 // RUN: %clang_cc1 -emit-llvm -triple i686-pc-windows-msvc19.0.24213 -gcodeview -debug-info-kind=limited -std=c++14 %s -o - | FileCheck %s
2 // PR33997.
3 struct WithDtor {
4 ~WithDtor();
5 };
6 struct Base {
7 Base(WithDtor);
8 };
9 class Forward : Base {
10 using Base::Base;
12 class A : Forward {
13 A();
15 class B : Forward {
16 B();
18 A::A() : Forward(WithDtor()) {}
20 B::B() : Forward(WithDtor()) {}
22 // CHECK: define{{.*}}A
23 // CHECK-NOT: {{ ret }}
24 // CHECK: store ptr %{{.*}}, ptr %{{.*}}, !dbg ![[INL:[0-9]+]]
26 // CHECK: ![[INL]] = !DILocation(line: 10, column: 15, scope: ![[SP:[0-9]+]], inlinedAt:
27 // CHECK: ![[SP]] = distinct !DISubprogram(name: "Base", {{.*}} DISPFlagDefinition