1 // Test that checking of a nothrow specification uses the one on the
3 // { dg-do run { target { c++11 && { ! c++23 } } } }
4 // { dg-options "-Wno-terminate" }
26 std::set_unexpected (my_unexpected); // { dg-warning "deprecated" }
27 std::set_terminate (my_terminate);