forked from boostorg/config
This commit was manufactured by cvs2svn to create branch 'RC_1_31_0'.
[SVN r21510]
This commit is contained in:
36
test/no_array_type_spec_fail.cpp
Normal file
36
test/no_array_type_spec_fail.cpp
Normal 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();
|
||||
}
|
||||
|
36
test/no_array_type_spec_pass.cpp
Normal file
36
test/no_array_type_spec_pass.cpp
Normal 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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user