blob: f6f36a58bab7db2c0fa7aa7f4cd143864f4cb1ab [file] [log] [blame]
// PR c++/94325
// { dg-do run { target c++11 } }
// { dg-options "-fsanitize=vptr -fno-sanitize-recover=vptr" }
struct A { virtual ~A () = default; };
struct B : public virtual A {};
struct C : public B {};
struct D : public C {};
int
main ()
{
D a;
}