blob: 182b956c5f815a6cee215132e72faa5ce4379727 [file] [log] [blame]
// { dg-options "-std=c++98" }
struct One { };
struct Two { };
void
handle_unexpected ()
{
try
{
throw;
}
catch (One &)
{
throw Two ();
}
}
void
doit () throw (Two)
{
throw One ();
}