Fixed broken test cases, and added two new ones that were previously missing from cvs

[SVN r21509]
This commit is contained in:
John Maddock
2004-01-06 13:24:31 +00:00
parent 03abb9c07a
commit e41f88e71d
4 changed files with 75 additions and 3 deletions

View File

@ -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 <boost/config.hpp>
#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();
}

View File

@ -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 <boost/config.hpp>
#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();
}

View File

@ -31,6 +31,6 @@
int cpp_main( int, char *[] ) int cpp_main( int, char *[] )
{ {
return ::test(); return boost_function_scope_using_declaration_breaks_adl::test();
} }

View File

@ -26,11 +26,11 @@
#ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
#include "boost_no_using_breaks_adl.cxx" #include "boost_no_using_breaks_adl.cxx"
#else #else
namespace = empty_boost; namespace boost_function_scope_using_declaration_breaks_adl = empty_boost;
#endif #endif
int cpp_main( int, char *[] ) int cpp_main( int, char *[] )
{ {
return ::test(); return boost_function_scope_using_declaration_breaks_adl::test();
} }