[Bug c++/86238] No diagnostic for virtual base class with inaccessible destructor

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 21 00:10:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Simplified further:

struct B { ~B() {} };
struct C : private virtual B {};
struct D : C {} d;


More information about the Gcc-bugs mailing list