Debian Codegraph @

libstdc++-v3/testsuite/19_diagnostics/system_error/noexcept.cc

raw
1 // { dg-do compile { target c++11 } }
2 #include <system_error>
3
4 static_assert(std::is_nothrow_destructible<std::system_error>::value, "");
5 static_assert(noexcept(std::declval<const std::system_error&>().code()), "");
6 static_assert(noexcept(std::declval<const std::system_error&>().what()), "");