testsuite: Adjust switch-exp-transform-3.c for 32bit
[official-gcc.git] / gcc / testsuite / g++.dg / compat / eh / unexpected1_y.C
blob182b956c5f815a6cee215132e72faa5ce4379727
1 // { dg-options "-std=c++98" }
3 struct One { };
4 struct Two { };
6 void
7 handle_unexpected ()
9   try
10   {
11     throw;
12   }
13   catch (One &)
14   {
15     throw Two ();
16   }
19 void
20 doit () throw (Two)
22   throw One ();