1 // RUN: %clang_cc1 %s -triple i386-pc-windows-msvc19.0.0 -emit-llvm \
2 // RUN: -debug-info-kind=line-tables-only -fms-extensions -o - | FileCheck %s
3 class __declspec(dllexport
) A
{
6 // CHECK: define {{.*}}void @"??_FA@@AAEXXZ"
7 // CHECK-SAME: !dbg ![[SP:[0-9]+]]
9 // CHECK: call x86_thiscallcc noundef %class.A* @"??0A@@AAE@PAH@Z"
10 // CHECK-SAME: !dbg ![[DBG:[0-9]+]]
11 // CHECK: ret void, !dbg
13 // CHECK: ![[SP]] = distinct !DISubprogram(
14 // CHECK-SAME: line: 4
15 // CHECK-SAME: DIFlagArtificial
16 // CHECK-SAME: DISPFlagDefinition
19 // CHECK: ![[DBG]] = !DILocation(line: 0