From 90531b094b537f4e08763dd13694c0180e8ba2ae Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 6 Jan 2004 13:24:32 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'RC_1_31_0'. [SVN r21510] --- test/no_array_type_spec_fail.cpp | 36 ++++++++++++++++++++++++++++++++ test/no_array_type_spec_pass.cpp | 36 ++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 test/no_array_type_spec_fail.cpp create mode 100644 test/no_array_type_spec_pass.cpp diff --git a/test/no_array_type_spec_fail.cpp b/test/no_array_type_spec_fail.cpp new file mode 100644 index 00000000..a4577a51 --- /dev/null +++ b/test/no_array_type_spec_fail.cpp @@ -0,0 +1,36 @@ + +// 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. + +// Test file for macro BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS +// This file should not compile, if it does then +// BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS need not be defined. +// see boost_no_array_type_spec.cxx for more details + +// Do not edit this file, it was generated automatically by +// ../tools/generate from boost_no_array_type_spec.cxx on +// Sat Dec 13 12:29:38 GMTST 2003 + +// 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_ARRAY_TYPE_SPECIALIZATIONS +#include "boost_no_array_type_spec.cxx" +#else +#error "this file should not compile" +#endif + +int cpp_main( int, char *[] ) +{ + return boost_no_array_type_specializations::test(); +} + diff --git a/test/no_array_type_spec_pass.cpp b/test/no_array_type_spec_pass.cpp new file mode 100644 index 00000000..8b395ffa --- /dev/null +++ b/test/no_array_type_spec_pass.cpp @@ -0,0 +1,36 @@ + +// 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. + +// Test file for macro BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS +// This file should compile, if it does not then +// BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS needs to be defined. +// see boost_no_array_type_spec.cxx for more details + +// Do not edit this file, it was generated automatically by +// ../tools/generate from boost_no_array_type_spec.cxx on +// Sat Dec 13 12:29:38 GMTST 2003 + +// 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_ARRAY_TYPE_SPECIALIZATIONS +#include "boost_no_array_type_spec.cxx" +#else +namespace boost_no_array_type_specializations = empty_boost; +#endif + +int cpp_main( int, char *[] ) +{ + return boost_no_array_type_specializations::test(); +} +