Files
config/test/has_part_alloc_fail.cpp
2003-10-14 10:33:24 +00:00

37 lines
1.0 KiB
C++

// 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_HAS_PARTIAL_STD_ALLOCATOR
// This file should not compile, if it does then
// BOOST_HAS_PARTIAL_STD_ALLOCATOR may be defined.
// see boost_has_part_alloc.cxx for more details
// Do not edit this file, it was generated automatically by
// ../tools/generate from boost_has_part_alloc.cxx on
// Tue Oct 7 11:26:18 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_HAS_PARTIAL_STD_ALLOCATOR
#include "boost_has_part_alloc.cxx"
#else
#error "this file should not compile"
#endif
int cpp_main( int, char *[] )
{
return boost_has_partial_std_allocator::test();
}