2 // Test that a function with a throw spec is a valid template argument.
6 typedef void (*HandlerFunction)();
7 typedef HandlerFunction (*SetHandlerFunction)(HandlerFunction);
9 template <SetHandlerFunction set_function>
12 static void defaultHandler();
15 typedef HandlerStack<std::set_terminate> Terminate;
17 template<> void Terminate::defaultHandler() {}