]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/system/test/system_category_test2.cpp
1 // Copyright 2020 Peter Dimov
2 // Distributed under the Boost Software License, Version 1.0
3 // http://www.boost.org/LICENSE_1_0.txt
5 #include <boost/system/system_category.hpp>
6 #include <boost/core/lightweight_test.hpp>
8 // Tests whether system_category() is functional when only
9 // system_category.hpp is included
11 namespace sys
= boost::system
;
15 sys::error_category
const & cat
= sys::system_category();
17 BOOST_TEST_CSTR_EQ( cat
.name(), "system" );
19 return boost::report_errors();