[Issue 15610] extern(C++) multiple inheritance - calling with wrong 'this' ptr

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jan 28 04:17:37 PST 2016


https://issues.dlang.org/show_bug.cgi?id=15610

--- Comment #6 from Manu <turkeyman at gmail.com> ---
Reduced a test case.
You'll see a crash as it tries to call the non vtable member 'BAADFOOD'.

Bonus points:
void test() is extern(C) because extern(C++) doesn't mangle the type properly;
doesn't link.

--


More information about the Digitalmars-d-bugs mailing list