]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/cmake/test/boost_test/requires_no_exceptions.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / cmake / test / boost_test / requires_no_exceptions.cpp
CommitLineData
f67539c2
TL
1// Copyright 2019 Peter Dimov
2// Distributed under the Boost Software License, Version 1.0.
3// See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
5#include <boost/config.hpp>
6
7int main()
8{
9#if defined(BOOST_NO_EXCEPTIONS)
10
11 return 0;
12
13#else
14
15 return 1;
16
17#endif
18}