mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 19:56:06 +00:00

Conversion done using the script at https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34. These are tests where the conversion worked out of the box and no manual fixup was performed.
16 lines
864 B
C++
16 lines
864 B
C++
// RUN: %clang_cc1 -triple i686--windows -emit-llvm -debug-info-kind=line-tables-only -x c++ %s -fms-extensions -o - | FileCheck %s
|
|
// RUN: %clang_cc1 -triple i686--windows -emit-llvm -debug-info-kind=line-directives-only -x c++ %s -fms-extensions -o - | FileCheck %s
|
|
|
|
struct __declspec(dllexport) S { virtual ~S(); };
|
|
struct __declspec(dllexport) T { virtual ~T(); };
|
|
struct __declspec(dllexport) U : S, T { virtual ~U(); };
|
|
|
|
// CHECK-LABEL: define {{.*}} @"??_GS@@UAEPAXI@Z"
|
|
// CHECK: call x86_thiscallcc void @"??1S@@UAE@XZ"(ptr {{[^,]*}} %this1){{.*}}!dbg !{{[0-9]+}}
|
|
|
|
// CHECK-LABEL: define {{.*}} @"??_GT@@UAEPAXI@Z"
|
|
// CHECK: call x86_thiscallcc void @"??1T@@UAE@XZ"(ptr {{[^,]*}} %this1){{.*}}!dbg !{{[0-9]+}}
|
|
|
|
// CHECK-LABEL: define {{.*}} @"??_GU@@UAEPAXI@Z"
|
|
// CHECK: call x86_thiscallcc void @"??1U@@UAE@XZ"(ptr {{[^,]*}} %this1){{.*}}!dbg !{{[0-9]+}}
|