blob: b9cf0e004f5ae11bc9eeb62999ec9741362ab425 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-O -fdeclone-ctor-dtor" }
struct A {
virtual ~ A ();
};
struct B : virtual A {};
struct C : virtual A {};
struct D : B, C {};
D d;