forked from boostorg/config
Added new config macro test cases, removed old testing script (use bjam instead).
[SVN r16222]
This commit is contained in:
1 parent
b09fd33660
commit
180d63457b
11 files changed
+332
-280
No files matched your search
@@ -0,0 +1,35 @@
|
||||
|
||||
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
||||
// distribute this software is granted provided this copyright notice appears
|
||||
// in all copies. This software is provided "as is" without express or implied
|
||||
// warranty, and with no claim as to its suitability for any purpose.
|
||||
|
||||
// Test file for macro BOOST_HAS_NRVO
|
||||
// This file should not compile, if it does then
|
||||
// BOOST_HAS_NRVO may be defined.
|
||||
// see boost_has_nrvo.cxx for more details
|
||||
|
||||
// Do not edit this file, it was generated automatically by
|
||||
// ../tools/generate from boost_has_nrvo.cxx on
|
||||
// Tue Nov 12 11:07:30 2002
|
||||
|
||||
// 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_NRVO
|
||||
#include "boost_has_nrvo.cxx"
|
||||
#else
|
||||
#error "this file should not compile"
|
||||
#endif
|
||||
|
||||
int cpp_main( int, char *[] )
|
||||
{
|
||||
return boost_has_nrvo::test();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user