1 // Testing exception specifications.
2 // Test 1: the original exception succeeds.
7 void my_term () { exit (1); }
8 void my_unexp () { throw 42; }
11 f () throw (char, int, std::bad_exception)
18 std::set_terminate (my_term);
19 std::set_unexpected (my_unexp);
33 catch (std::bad_exception)