1 // RUN: %clang_cc1 -triple i686--windows -emit-llvm -debug-info-kind=line-tables-only -x c++ %s -fms-extensions -o - | FileCheck %s
2 
3 struct __declspec(dllexport) S { virtual ~S(); };
4 struct __declspec(dllexport) T { virtual ~T(); };
5 struct __declspec(dllexport) U : S, T { virtual ~U(); };
6 
7 // CHECK-LABEL: define {{.*}} @"??_GS@@UAEPAXI@Z"
8 // CHECK: call x86_thiscallcc void @"??1S@@UAE@XZ"(%struct.S* %this1){{.*}}!dbg !{{[0-9]+}}
9 
10 // CHECK-LABEL: define {{.*}} @"??_GT@@UAEPAXI@Z"
11 // CHECK: call x86_thiscallcc void @"??1T@@UAE@XZ"(%struct.T* %this1){{.*}}!dbg !{{[0-9]+}}
12 
13 // CHECK-LABEL: define {{.*}} @"??_GU@@UAEPAXI@Z"
14 // CHECK: call x86_thiscallcc void @"??1U@@UAE@XZ"(%struct.U* %this1){{.*}}!dbg !{{[0-9]+}}
15