blob: 0c42c4579534a67142c804beb174c4f41d1843fd [file] [log] [blame]
struct One { };
struct Two { };
void
handle_unexpected ()
{
try
{
throw;
}
catch (One &)
{
throw Two ();
}
}
void
doit () throw (Two)
{
throw One ();
}