diff options
Diffstat (limited to 'src/boost/libs/config/test/config_build_check.cpp')
-rw-r--r-- | src/boost/libs/config/test/config_build_check.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/boost/libs/config/test/config_build_check.cpp b/src/boost/libs/config/test/config_build_check.cpp new file mode 100644 index 000000000..480e93efb --- /dev/null +++ b/src/boost/libs/config/test/config_build_check.cpp @@ -0,0 +1,20 @@ +// Copyright John Maddock 2014. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/config for the most recent version.// +// Revision $Id$ +// +// We include this as it contains some workarounds we may need (like a declaration for ::gets to get clang building): +#include <boost/config.hpp> + +# include "../test/boost_has_int128.ipp" +# include "../test/boost_no_constexpr.ipp" +# include "../test/boost_no_cxx11_user_lit.ipp" + +int main( int, char *[] ) +{ + return boost_has_int128::test() || boost_no_cxx11_constexpr::test() || boost_no_cxx11_user_defined_literals::test(); +} + |