Release 1.39.0
[boost.git] / Boost_1_39_0 / libs / config / test / has_tr1_mem_fn_fail.cpp
blob01bff252d9fa4a447c62d15399cd856173fde863
1 // This file was automatically generated on Sat Jul 12 12:39:32 2008
2 // by libs/config/tools/generate.cpp
3 // Copyright John Maddock 2002-4.
4 // Use, modification and distribution are subject to the
5 // Boost Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 // See http://www.boost.org/libs/config for the most recent version.//
9 // Revision $Id$
13 // Test file for macro BOOST_HAS_TR1_MEM_FN
14 // This file should not compile, if it does then
15 // BOOST_HAS_TR1_MEM_FN should be defined.
16 // See file boost_has_tr1_mem_fn.ipp for details
18 // Must not have BOOST_ASSERT_CONFIG set; it defeats
19 // the objective of this file:
20 #ifdef BOOST_ASSERT_CONFIG
21 # undef BOOST_ASSERT_CONFIG
22 #endif
24 #include <boost/config.hpp>
25 #include <boost/tr1/detail/config.hpp>
26 #include "test.hpp"
28 #ifndef BOOST_HAS_TR1_MEM_FN
29 #include "boost_has_tr1_mem_fn.ipp"
30 #else
31 #error "this file should not compile"
32 #endif
34 int main( int, char *[] )
36 return boost_has_tr1_mem_fn::test();