]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/system/test/header_only_test.cpp
1 // error_code_test.cpp -----------------------------------------------------//
3 // Copyright Beman Dawes 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 //----------------------------------------------------------------------------//
12 #include <boost/config/warning_disable.hpp>
14 #define BOOST_ERROR_CODE_HEADER_ONLY
16 #include <boost/detail/lightweight_test.hpp>
17 #include <boost/system/error_code.hpp>
19 int main( int, char*[] )
21 boost::system::error_code
ec( 0, boost::system::system_category() );
22 return ::boost::report_errors();