Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / compat / eh / unexpected1_y.C
blob0c42c4579534a67142c804beb174c4f41d1843fd
1 struct One { };
2 struct Two { };
4 void
5 handle_unexpected ()
7   try
8   {
9     throw;
10   }
11   catch (One &)
12   {
13     throw Two ();
14   }
17 void
18 doit () throw (Two)
20   throw One ();