Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / config / test / no_unified_init_pass.cpp
1 //  This file was automatically generated on Mon May 09 12:11:17 2011
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)
7
8 //  See http://www.boost.org/libs/config for the most recent version.//
9 //  Revision $Id: generate.cpp 70001 2011-03-15 13:17:46Z johnmaddock $
10 //
11
12
13 // Test file for macro BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
14 // This file should compile, if it does not then
15 // BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX should be defined.
16 // See file boost_no_unified_init.ipp for details
17
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
23
24 #include <boost/config.hpp>
25 #include "test.hpp"
26
27 #ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
28 #include "boost_no_unified_init.ipp"
29 #else
30 namespace boost_no_cxx11_unified_initialization_syntax = empty_boost;
31 #endif
32
33 int main( int, char *[] )
34 {
35    return boost_no_cxx11_unified_initialization_syntax::test();
36 }
37