Improve vacpp support.
[boost.git] / boost / libs / config / test / no_auto_ptr_fail.cpp
blobda64bb92ce137d6f4f9ad935727e15a29ebb8052
1 // This file was automatically generated on Fri Dec 03 18:04:00 2004
2 // by libs/config/tools/generate.cpp
3 // Copyright John Maddock 2002-4.
4 // Use, modification and distribution are subject to the
5 // Boost Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 // See http://www.boost.org/libs/config for the most recent version.
10 // Test file for macro BOOST_NO_AUTO_PTR
11 // This file should not compile, if it does then
12 // BOOST_NO_AUTO_PTR should not be defined.
13 // See file boost_no_auto_ptr.ipp for details
15 // Must not have BOOST_ASSERT_CONFIG set; it defeats
16 // the objective of this file:
17 #ifdef BOOST_ASSERT_CONFIG
18 # undef BOOST_ASSERT_CONFIG
19 #endif
21 #include <boost/config.hpp>
22 #include "test.hpp"
24 #ifdef BOOST_NO_AUTO_PTR
25 #include "boost_no_auto_ptr.ipp"
26 #else
27 #error "this file should not compile"
28 #endif
30 int main( int, char *[] )
32 return boost_no_auto_ptr::test();