]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/no_fenv_h_pass.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / config / test / no_fenv_h_pass.cpp
1 // Copyright Bryce Lelbach 2010.
2 // Copyright John Maddock 2002-4.
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 // See http://www.boost.org/libs/config for the most recent version.
8
9 // Test file for macro BOOST_NO_FENV_H
10 // This file should compile, if it does not then
11 // BOOST_NO_FENV_H should be defined.
12 // See file boost_no_fenv_h.ipp for details
13
14 // Must not have BOOST_ASSERT_CONFIG set; it defeats
15 // the objective of this file:
16 #ifdef BOOST_ASSERT_CONFIG
17 # undef BOOST_ASSERT_CONFIG
18 #endif
19
20 #include <boost/config.hpp>
21 #include "test.hpp"
22
23 #ifndef BOOST_NO_FENV_H
24 #include "boost_no_fenv_h.ipp"
25 #else
26 namespace boost_no_fenv_h = empty_boost;
27 #endif
28
29 int main( int, char *[] )
30 {
31 return boost_no_fenv_h::test();
32 }
33