Skip to content
Snippets Groups Projects
Commit f5cbeeb2 authored by David Majnemer's avatar David Majnemer
Browse files

MS ABI: Add a vftable test for pure virtual methods

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@218965 91177308-0d34-0410-b5e6-96231b3b80d8
parent 4c243d45
No related branches found
No related tags found
No related merge requests found
......@@ -777,6 +777,16 @@ struct A {
A::A() {}
}
namespace Test14 {
struct A {
virtual void f();
};
struct __declspec(dllexport) B : virtual A {
virtual void f() = 0;
// MANGLING-DAG: @"\01??_7B@Test14@@6B@" = weak_odr dllexport unnamed_addr constant [1 x i8*] [i8* bitcast (void ()* @_purecall to i8*)]
};
}
namespace pr21031_1 {
// This ordering of base specifiers regressed in r202425.
struct A { virtual void f(void); };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment