1 // Compile with "cl /c /Zi /GR- ComplexPaddingTest.cpp"
2 // Link with "link ComplexPaddingTest.obj /debug /nodefaultlib /entry:main"
6 extern "C" using at_exit_handler
= void();
8 int atexit(at_exit_handler handler
) { return 0; }
11 static void operator delete(void *ptr
, size_t sz
) {}
13 virtual void IntroFunction1() {}
18 static void operator delete(void *ptr
, size_t sz
) {}
20 virtual void IntroFunction2() {}
25 : public virtual TestVB
,
27 static void operator delete(void *ptr
, size_t sz
) {}
31 struct TestIVBBase
: public virtual TestVB
{
35 struct TestIVBDerived
: public TestIVBBase
{
39 struct TestIVBMergedDerived
40 : public virtual TestVB
,
45 int main(int argc
, char **argv
) {