From dade549b8b077612a9ffb17343ae4e5170a0ec7f Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Fri, 27 Feb 2009 13:23:06 +0000 Subject: [PATCH] config: add cpp0x files not added after merge [SVN r51471] --- test/boost_no_char16_t.ipp | 21 ++++++++++++++++ test/boost_no_char32_t.ipp | 21 ++++++++++++++++ test/boost_no_decltype.ipp | 22 +++++++++++++++++ test/boost_no_extern_template.ipp | 22 +++++++++++++++++ test/boost_no_long_long.ipp | 36 +++++++++++++++++++++++++++ test/boost_no_rvalue_references.ipp | 26 +++++++++++++++++++ test/boost_no_scoped_enums.ipp | 21 ++++++++++++++++ test/boost_no_static_assert.ipp | 20 +++++++++++++++ test/boost_no_unicode_literals.ipp | 23 +++++++++++++++++ test/boost_no_variadic_templates.ipp | 21 ++++++++++++++++ test/no_char16_t_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_char16_t_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_char32_t_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_char32_t_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_decltype_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_decltype_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_extern_template_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_extern_template_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_long_long_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_long_long_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_rvalue_references_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_rvalue_references_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_scoped_enums_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_scoped_enums_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_static_assert_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_static_assert_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_unicode_literals_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_unicode_literals_pass.cpp | 37 ++++++++++++++++++++++++++++ test/no_variadic_templates_fail.cpp | 37 ++++++++++++++++++++++++++++ test/no_variadic_templates_pass.cpp | 37 ++++++++++++++++++++++++++++ 30 files changed, 973 insertions(+) create mode 100644 test/boost_no_char16_t.ipp create mode 100644 test/boost_no_char32_t.ipp create mode 100644 test/boost_no_decltype.ipp create mode 100644 test/boost_no_extern_template.ipp create mode 100644 test/boost_no_long_long.ipp create mode 100644 test/boost_no_rvalue_references.ipp create mode 100644 test/boost_no_scoped_enums.ipp create mode 100644 test/boost_no_static_assert.ipp create mode 100644 test/boost_no_unicode_literals.ipp create mode 100644 test/boost_no_variadic_templates.ipp create mode 100644 test/no_char16_t_fail.cpp create mode 100644 test/no_char16_t_pass.cpp create mode 100644 test/no_char32_t_fail.cpp create mode 100644 test/no_char32_t_pass.cpp create mode 100644 test/no_decltype_fail.cpp create mode 100644 test/no_decltype_pass.cpp create mode 100644 test/no_extern_template_fail.cpp create mode 100644 test/no_extern_template_pass.cpp create mode 100644 test/no_long_long_fail.cpp create mode 100644 test/no_long_long_pass.cpp create mode 100644 test/no_rvalue_references_fail.cpp create mode 100644 test/no_rvalue_references_pass.cpp create mode 100644 test/no_scoped_enums_fail.cpp create mode 100644 test/no_scoped_enums_pass.cpp create mode 100644 test/no_static_assert_fail.cpp create mode 100644 test/no_static_assert_pass.cpp create mode 100644 test/no_unicode_literals_fail.cpp create mode 100644 test/no_unicode_literals_pass.cpp create mode 100644 test/no_variadic_templates_fail.cpp create mode 100644 test/no_variadic_templates_pass.cpp diff --git a/test/boost_no_char16_t.ipp b/test/boost_no_char16_t.ipp new file mode 100644 index 00000000..b519b825 --- /dev/null +++ b/test/boost_no_char16_t.ipp @@ -0,0 +1,21 @@ +// (C) Copyright Beman Dawes 2008 + +// 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 more information. + +// MACRO: BOOST_NO_CHAR16_T +// TITLE: C++0x char16_t unavailable +// DESCRIPTION: The compiler does not support C++0x char16_t + +namespace boost_no_char16_t { + +int test() +{ + char16_t c; + return 0; +} + +} diff --git a/test/boost_no_char32_t.ipp b/test/boost_no_char32_t.ipp new file mode 100644 index 00000000..4bd05407 --- /dev/null +++ b/test/boost_no_char32_t.ipp @@ -0,0 +1,21 @@ +// (C) Copyright Beman Dawes 2008 + +// 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 more information. + +// MACRO: BOOST_NO_CHAR32_T +// TITLE: C++0x char32_t unavailable +// DESCRIPTION: The compiler does not support C++0x char32_t + +namespace boost_no_char32_t { + +int test() +{ + char32_t c; + return 0; +} + +} diff --git a/test/boost_no_decltype.ipp b/test/boost_no_decltype.ipp new file mode 100644 index 00000000..c712e892 --- /dev/null +++ b/test/boost_no_decltype.ipp @@ -0,0 +1,22 @@ +// (C) Copyright Beman Dawes 2008 + +// 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 more information. + +// MACRO: BOOST_NO_DECLTYPE +// TITLE: C++0x decltype unavailable +// DESCRIPTION: The compiler does not support C++0x decltype + +namespace boost_no_decltype { + +int test() +{ + int i; + decltype(i) j; + return 0; +} + +} diff --git a/test/boost_no_extern_template.ipp b/test/boost_no_extern_template.ipp new file mode 100644 index 00000000..732eedc6 --- /dev/null +++ b/test/boost_no_extern_template.ipp @@ -0,0 +1,22 @@ +// (C) Copyright Beman Dawes 2008 + +// 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 more information. + +// MACRO: BOOST_NO_EXTERN_TEMPLATE +// TITLE: C++0x extern template unavailable +// DESCRIPTION: The compiler does not support C++0x extern template + +namespace boost_no_extern_template { + +extern template void f(T); + +int test() +{ + return 0; +} + +} diff --git a/test/boost_no_long_long.ipp b/test/boost_no_long_long.ipp new file mode 100644 index 00000000..52ee3edc --- /dev/null +++ b/test/boost_no_long_long.ipp @@ -0,0 +1,36 @@ +// (C) Copyright John Maddock 2001. +// 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 most recent version. + +// MACRO: BOOST_NO_LONG_LONG +// TITLE: C++0x long long unavailable +// DESCRIPTION: The platform does not support C++0x long long. + +#include + + +namespace boost_no_long_long{ + +int test() +{ +#ifdef __GNUC__ + __extension__ long long lli = 0LL; + __extension__ unsigned long long ulli = 0uLL; +#else + long long lli = 0LL; + unsigned long long ulli = 0uLL; +#endif + (void)&lli; + (void)&ulli; + return 0; +} + +} + + + + + diff --git a/test/boost_no_rvalue_references.ipp b/test/boost_no_rvalue_references.ipp new file mode 100644 index 00000000..4540bb64 --- /dev/null +++ b/test/boost_no_rvalue_references.ipp @@ -0,0 +1,26 @@ +// Copyright (C) 2007 Douglas Gregor +// 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 most recent version. + +// MACRO: BOOST_NO_RVALUE_REFERENCES +// TITLE: C++0x rvalue references unavailable +// DESCRIPTION: The compiler does not support C++0x rvalue references + +namespace boost_no_rvalue_references { + +void g(int&) {} + +template +void forward(F f, T&& t) { f(static_cast(t)); } + +int test() +{ + int x; + forward(g, x); + return 0; +} + +} diff --git a/test/boost_no_scoped_enums.ipp b/test/boost_no_scoped_enums.ipp new file mode 100644 index 00000000..1396da18 --- /dev/null +++ b/test/boost_no_scoped_enums.ipp @@ -0,0 +1,21 @@ +// (C) Copyright Beman Dawes 2008 + +// 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 more information. + +// MACRO: BOOST_NO_SCOPED_ENUMS +// TITLE: C++0x scoped enum unavailable +// DESCRIPTION: The compiler does not support C++0x scoped enum + +namespace boost_no_scoped_enums { + +int test() +{ + enum class scoped_enum { yes, no, maybe }; + return 0; +} + +} diff --git a/test/boost_no_static_assert.ipp b/test/boost_no_static_assert.ipp new file mode 100644 index 00000000..858d91bc --- /dev/null +++ b/test/boost_no_static_assert.ipp @@ -0,0 +1,20 @@ +// Copyright (C) 2007 Douglas Gregor +// 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 most recent version. + +// MACRO: BOOST_NO_STATIC_ASSERT +// TITLE: C++0x static_assert unavailable +// DESCRIPTION: The compiler does not support C++0x static assertions + +namespace boost_no_static_assert { + +int test() +{ + static_assert(true, "OK"); + return 0; +} + +} diff --git a/test/boost_no_unicode_literals.ipp b/test/boost_no_unicode_literals.ipp new file mode 100644 index 00000000..247daf49 --- /dev/null +++ b/test/boost_no_unicode_literals.ipp @@ -0,0 +1,23 @@ +// (C) Copyright Beman Dawes 2008 + +// 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 more information. + +// MACRO: BOOST_NO_UNICODE_LITERALS +// TITLE: C++0x unicode literals unavailable +// DESCRIPTION: The compiler does not support C++0x unicode literals + +namespace boost_no_unicode_literals { + +int test() +{ + const char* u8 = u8""; + const char16_t* u16 = u""; + const char32_t* u32 = U""; + return 0; +} + +} diff --git a/test/boost_no_variadic_templates.ipp b/test/boost_no_variadic_templates.ipp new file mode 100644 index 00000000..68af2d71 --- /dev/null +++ b/test/boost_no_variadic_templates.ipp @@ -0,0 +1,21 @@ +// Copyright (C) 2007 Douglas Gregor +// 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 most recent version. + +// MACRO: BOOST_NO_VARIADIC_TEMPLATES +// TITLE: C++0x variadic templates unavailable +// DESCRIPTION: The compiler does not support C++0x variadic templates + +namespace boost_no_variadic_templates { + +template struct tuple {}; + +int test() +{ + return 0; +} + +} diff --git a/test/no_char16_t_fail.cpp b/test/no_char16_t_fail.cpp new file mode 100644 index 00000000..38e1bb5c --- /dev/null +++ b/test/no_char16_t_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_CHAR16_T +// This file should not compile, if it does then +// BOOST_NO_CHAR16_T should not be defined. +// See file boost_no_char16_t.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_CHAR16_T +#include "boost_no_char16_t.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_char16_t::test(); +} + diff --git a/test/no_char16_t_pass.cpp b/test/no_char16_t_pass.cpp new file mode 100644 index 00000000..45df2c8d --- /dev/null +++ b/test/no_char16_t_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_CHAR16_T +// This file should compile, if it does not then +// BOOST_NO_CHAR16_T should be defined. +// See file boost_no_char16_t.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_CHAR16_T +#include "boost_no_char16_t.ipp" +#else +namespace boost_no_char16_t = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_char16_t::test(); +} + diff --git a/test/no_char32_t_fail.cpp b/test/no_char32_t_fail.cpp new file mode 100644 index 00000000..53124a4d --- /dev/null +++ b/test/no_char32_t_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_CHAR32_T +// This file should not compile, if it does then +// BOOST_NO_CHAR32_T should not be defined. +// See file boost_no_char32_t.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_CHAR32_T +#include "boost_no_char32_t.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_char32_t::test(); +} + diff --git a/test/no_char32_t_pass.cpp b/test/no_char32_t_pass.cpp new file mode 100644 index 00000000..0abc220b --- /dev/null +++ b/test/no_char32_t_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_CHAR32_T +// This file should compile, if it does not then +// BOOST_NO_CHAR32_T should be defined. +// See file boost_no_char32_t.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_CHAR32_T +#include "boost_no_char32_t.ipp" +#else +namespace boost_no_char32_t = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_char32_t::test(); +} + diff --git a/test/no_decltype_fail.cpp b/test/no_decltype_fail.cpp new file mode 100644 index 00000000..ab060488 --- /dev/null +++ b/test/no_decltype_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_DECLTYPE +// This file should not compile, if it does then +// BOOST_NO_DECLTYPE should not be defined. +// See file boost_no_decltype.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_DECLTYPE +#include "boost_no_decltype.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_decltype::test(); +} + diff --git a/test/no_decltype_pass.cpp b/test/no_decltype_pass.cpp new file mode 100644 index 00000000..a115419b --- /dev/null +++ b/test/no_decltype_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_DECLTYPE +// This file should compile, if it does not then +// BOOST_NO_DECLTYPE should be defined. +// See file boost_no_decltype.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_DECLTYPE +#include "boost_no_decltype.ipp" +#else +namespace boost_no_decltype = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_decltype::test(); +} + diff --git a/test/no_extern_template_fail.cpp b/test/no_extern_template_fail.cpp new file mode 100644 index 00000000..6e739c87 --- /dev/null +++ b/test/no_extern_template_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_EXTERN_TEMPLATE +// This file should not compile, if it does then +// BOOST_NO_EXTERN_TEMPLATE should not be defined. +// See file boost_no_extern_template.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_EXTERN_TEMPLATE +#include "boost_no_extern_template.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_extern_template::test(); +} + diff --git a/test/no_extern_template_pass.cpp b/test/no_extern_template_pass.cpp new file mode 100644 index 00000000..60631a28 --- /dev/null +++ b/test/no_extern_template_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_EXTERN_TEMPLATE +// This file should compile, if it does not then +// BOOST_NO_EXTERN_TEMPLATE should be defined. +// See file boost_no_extern_template.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_EXTERN_TEMPLATE +#include "boost_no_extern_template.ipp" +#else +namespace boost_no_extern_template = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_extern_template::test(); +} + diff --git a/test/no_long_long_fail.cpp b/test/no_long_long_fail.cpp new file mode 100644 index 00000000..2a2e724f --- /dev/null +++ b/test/no_long_long_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_LONG_LONG +// This file should not compile, if it does then +// BOOST_NO_LONG_LONG should not be defined. +// See file boost_no_long_long.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_LONG_LONG +#include "boost_no_long_long.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_long_long::test(); +} + diff --git a/test/no_long_long_pass.cpp b/test/no_long_long_pass.cpp new file mode 100644 index 00000000..3e00f1b3 --- /dev/null +++ b/test/no_long_long_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_LONG_LONG +// This file should compile, if it does not then +// BOOST_NO_LONG_LONG should be defined. +// See file boost_no_long_long.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_LONG_LONG +#include "boost_no_long_long.ipp" +#else +namespace boost_no_long_long = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_long_long::test(); +} + diff --git a/test/no_rvalue_references_fail.cpp b/test/no_rvalue_references_fail.cpp new file mode 100644 index 00000000..157c7efa --- /dev/null +++ b/test/no_rvalue_references_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_RVALUE_REFERENCES +// This file should not compile, if it does then +// BOOST_NO_RVALUE_REFERENCES should not be defined. +// See file boost_no_rvalue_references.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_RVALUE_REFERENCES +#include "boost_no_rvalue_references.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_rvalue_references::test(); +} + diff --git a/test/no_rvalue_references_pass.cpp b/test/no_rvalue_references_pass.cpp new file mode 100644 index 00000000..1349ec81 --- /dev/null +++ b/test/no_rvalue_references_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_RVALUE_REFERENCES +// This file should compile, if it does not then +// BOOST_NO_RVALUE_REFERENCES should be defined. +// See file boost_no_rvalue_references.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_RVALUE_REFERENCES +#include "boost_no_rvalue_references.ipp" +#else +namespace boost_no_rvalue_references = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_rvalue_references::test(); +} + diff --git a/test/no_scoped_enums_fail.cpp b/test/no_scoped_enums_fail.cpp new file mode 100644 index 00000000..1da2360c --- /dev/null +++ b/test/no_scoped_enums_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 08:00:48 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_SCOPED_ENUMS +// This file should not compile, if it does then +// BOOST_NO_SCOPED_ENUMS should not be defined. +// See file boost_no_scoped_enums.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_SCOPED_ENUMS +#include "boost_no_scoped_enums.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_scoped_enums::test(); +} + diff --git a/test/no_scoped_enums_pass.cpp b/test/no_scoped_enums_pass.cpp new file mode 100644 index 00000000..b462340d --- /dev/null +++ b/test/no_scoped_enums_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 08:00:48 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_SCOPED_ENUMS +// This file should compile, if it does not then +// BOOST_NO_SCOPED_ENUMS should be defined. +// See file boost_no_scoped_enums.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_SCOPED_ENUMS +#include "boost_no_scoped_enums.ipp" +#else +namespace boost_no_scoped_enums = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_scoped_enums::test(); +} + diff --git a/test/no_static_assert_fail.cpp b/test/no_static_assert_fail.cpp new file mode 100644 index 00000000..ba053413 --- /dev/null +++ b/test/no_static_assert_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_STATIC_ASSERT +// This file should not compile, if it does then +// BOOST_NO_STATIC_ASSERT should not be defined. +// See file boost_no_static_assert.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_STATIC_ASSERT +#include "boost_no_static_assert.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_static_assert::test(); +} + diff --git a/test/no_static_assert_pass.cpp b/test/no_static_assert_pass.cpp new file mode 100644 index 00000000..9df618a1 --- /dev/null +++ b/test/no_static_assert_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_STATIC_ASSERT +// This file should compile, if it does not then +// BOOST_NO_STATIC_ASSERT should be defined. +// See file boost_no_static_assert.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_STATIC_ASSERT +#include "boost_no_static_assert.ipp" +#else +namespace boost_no_static_assert = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_static_assert::test(); +} + diff --git a/test/no_unicode_literals_fail.cpp b/test/no_unicode_literals_fail.cpp new file mode 100644 index 00000000..0a1d32de --- /dev/null +++ b/test/no_unicode_literals_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_UNICODE_LITERALS +// This file should not compile, if it does then +// BOOST_NO_UNICODE_LITERALS should not be defined. +// See file boost_no_unicode_literals.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_UNICODE_LITERALS +#include "boost_no_unicode_literals.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_unicode_literals::test(); +} + diff --git a/test/no_unicode_literals_pass.cpp b/test/no_unicode_literals_pass.cpp new file mode 100644 index 00000000..cca64a16 --- /dev/null +++ b/test/no_unicode_literals_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 09:24:04 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_UNICODE_LITERALS +// This file should compile, if it does not then +// BOOST_NO_UNICODE_LITERALS should be defined. +// See file boost_no_unicode_literals.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_UNICODE_LITERALS +#include "boost_no_unicode_literals.ipp" +#else +namespace boost_no_unicode_literals = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_unicode_literals::test(); +} + diff --git a/test/no_variadic_templates_fail.cpp b/test/no_variadic_templates_fail.cpp new file mode 100644 index 00000000..25f4eaf1 --- /dev/null +++ b/test/no_variadic_templates_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_VARIADIC_TEMPLATES +// This file should not compile, if it does then +// BOOST_NO_VARIADIC_TEMPLATES should not be defined. +// See file boost_no_variadic_templates.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifdef BOOST_NO_VARIADIC_TEMPLATES +#include "boost_no_variadic_templates.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_variadic_templates::test(); +} + diff --git a/test/no_variadic_templates_pass.cpp b/test/no_variadic_templates_pass.cpp new file mode 100644 index 00000000..9f57e151 --- /dev/null +++ b/test/no_variadic_templates_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Thu May 29 07:24:54 2008 +// by libs/config/tools/generate.cpp +// Copyright John Maddock 2002-4. +// 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$ +// + + +// Test file for macro BOOST_NO_VARIADIC_TEMPLATES +// This file should compile, if it does not then +// BOOST_NO_VARIADIC_TEMPLATES should be defined. +// See file boost_no_variadic_templates.ipp for details + +// Must not have BOOST_ASSERT_CONFIG set; it defeats +// the objective of this file: +#ifdef BOOST_ASSERT_CONFIG +# undef BOOST_ASSERT_CONFIG +#endif + +#include +#include "test.hpp" + +#ifndef BOOST_NO_VARIADIC_TEMPLATES +#include "boost_no_variadic_templates.ipp" +#else +namespace boost_no_variadic_templates = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_variadic_templates::test(); +} +