2 // Testing exception specifications.
3 // Test 1: the original exception succeeds.
8 void my_term () { exit (1); }
9 void my_unexp () { throw 42; }
12 f () throw (char, int, std::bad_exception)
19 std::set_terminate (my_term);
20 std::set_unexpected (my_unexp);
34 catch (std::bad_exception)