brintos

brintos / llvm-project-archived public Read only

0
0
Text · 678 B · d73a8a6 Raw
28 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -triple i686-pc-windows-msvc19.0.24213 -gcodeview -debug-info-kind=limited -std=c++14 %s -o - | FileCheck %s2// PR33997.3struct WithDtor {4  ~WithDtor();5};6struct Base {7  Base(WithDtor);8};9class Forward : Base {10  using Base::Base;11};12class A : Forward {13  A();14};15class B : Forward {16  B();17};18A::A() : Forward(WithDtor()) {}19 20B::B() : Forward(WithDtor()) {}21 22// CHECK: define{{.*}}A23// CHECK-NOT: {{ ret }}24// CHECK: store ptr %{{.*}}, ptr %{{.*}}, !dbg ![[INL:[0-9]+]]25 26// CHECK: ![[INL]] = !DILocation(line: 10, column: 15, scope: ![[SP:[0-9]+]], inlinedAt:27// CHECK: ![[SP]] = distinct !DISubprogram(name: "Base", {{.*}} DISPFlagDefinition28