]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/system/test/header_only_test.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / system / test / header_only_test.cpp
1 // error_code_test.cpp -----------------------------------------------------//
2
3 // Copyright Beman Dawes 2007
4
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)
7
8 // See library home page at http://www.boost.org/libs/system
9
10 //----------------------------------------------------------------------------//
11
12 #include <boost/config/warning_disable.hpp>
13
14 #define BOOST_ERROR_CODE_HEADER_ONLY
15
16 #include <boost/detail/lightweight_test.hpp>
17 #include <boost/system/error_code.hpp>
18
19 int main( int, char*[] )
20 {
21 boost::system::error_code ec( 0, boost::system::system_category() );
22 return ::boost::report_errors();
23 }