to force the emission of vtordisps.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155906
91177308-0d34-0410-b5e6-
96231b3b80d8
// Overriding a method means that all the vbases containing that
// method need a vtordisp.
+// FIXME: this is unverified!!
namespace test1 {
struct A { virtual void foo(); };
struct B : A {};
- struct C : virtual A, virtual B { virtual void foo(); };
+ struct C : virtual A, virtual B { C(); virtual void foo(); };
void test() { C *c; }
// CHECK: 0 | struct test1::C