• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 not compile, if it does then
11 // BOOST_NO_FENV_H should not 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 #ifdef BOOST_NO_FENV_H
24 #include "boost_no_fenv_h.ipp"
25 #else
26 #error "this file should not compile"
27 #endif
28 
main(int,char * [])29 int main( int, char *[] )
30 {
31    return boost_no_fenv_h::test();
32 }
33 
34