blob: 0c783bb45ee769f2cf35c122d06c97c6110e96d0 [file] [log] [blame]
// PR c++/61611
// { dg-do run }
struct A { };
struct B { };
struct Test
{
Test()
try { throw A(); }
catch(const A&)
{
try { throw B(); }
catch(const B&) { }
}
};
int
main()
{
try { Test x; }
catch(const A&) { }
}