1 // Test that checking of a nothrow specification uses the one on the
2 // definition. In C++17 throw() is equivalent to noexcept(true).
3 // { dg-do run { target { c++11 && c++14_down } } }
21 std::set_unexpected (my_unexpected); // { dg-warning "deprecated" }