blob: 53822c7431c36743ae59f88ff445584c0874f53b [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-fexceptions" }
class Base {
public:
virtual ~Base() throw();
};
Base::~Base() throw()
{
}
class Foo : public Base {
public:
virtual ~Foo() throw();
};
Foo::~Foo() throw()
{
}