]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/system/test/initialization_test.cpp
1 // initialization_test.cpp -------------------------------------------------//
3 // Copyright Christoper Kohlhoff 2007
5 // Distributed under the Boost Software License, Version 1.0. (See accompanying
6 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 // See library home page at http://www.boost.org/libs/system
10 // This test verifiies that the error_category vtable does not suffer from
11 // order-of-initialization problems.
13 #include <boost/system/error_code.hpp>
14 #include <boost/core/lightweight_test.hpp>
20 boost::system::error_code ec
;
21 BOOST_TEST_NE( ec
, boost::system::errc::permission_denied
);
27 return boost::report_errors();