blob: e376017deb339ff21a9db0575ef4af4738f6c8b4 [file] [log] [blame]
// PR c++/62232
// { dg-do compile { target c++11 } }
// { dg-options "-Wnon-virtual-dtor" }
class base
{
protected:
~base () {}
virtual void foo (){};
};
class derive final : public base
{
};