forked from boostorg/config
Oops, regenerate and add missing files.
[SVN r48909]
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Regression test Jamfile for boost configuration setup.
|
# Regression test Jamfile for boost configuration setup.
|
||||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||||
# This file was automatically generated on Thu Sep 18 23:32:18 2008
|
# This file was automatically generated on Sat Sep 20 09:49:52 2008
|
||||||
# by libs/config/tools/generate.cpp
|
# by libs/config/tools/generate.cpp
|
||||||
# Copyright John Maddock.
|
# Copyright John Maddock.
|
||||||
# Use, modification and distribution are subject to the
|
# Use, modification and distribution are subject to the
|
||||||
|
21
test/boost_no_nested_friendship.ipp
Normal file
21
test/boost_no_nested_friendship.ipp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
// MACRO: BOOST_NO_NESTED_FRIENDSHIP
|
||||||
|
// TITLE: Access to private members from nested classes
|
||||||
|
// DESCRIPTION: If the compiler fails to support access to private members
|
||||||
|
// from nested classes
|
||||||
|
|
||||||
|
namespace boost_no_nested_friendship {
|
||||||
|
|
||||||
|
class A {
|
||||||
|
static int b;
|
||||||
|
class B {
|
||||||
|
int f() { return b; }
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -1038,6 +1038,7 @@ void print_boost_macros()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// END GENERATED BLOCK
|
// END GENERATED BLOCK
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This file was automatically generated on Thu Sep 18 23:32:18 2008
|
// This file was automatically generated on Sat Sep 20 09:49:52 2008
|
||||||
// by libs/config/tools/generate.cpp
|
// by libs/config/tools/generate.cpp
|
||||||
// Copyright John Maddock 2002-4.
|
// Copyright John Maddock 2002-4.
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
|
37
test/no_nested_friendship_fail.cpp
Normal file
37
test/no_nested_friendship_fail.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Thu Sep 18 23:32:18 2008
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// 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.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_NESTED_FRIENDSHIP
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_NESTED_FRIENDSHIP should not be defined.
|
||||||
|
// See file boost_no_nested_friendship.ipp for details
|
||||||
|
|
||||||
|
// 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_NESTED_FRIENDSHIP
|
||||||
|
#include "boost_no_nested_friendship.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_nested_friendship::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_nested_friendship_pass.cpp
Normal file
37
test/no_nested_friendship_pass.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Thu Sep 18 23:32:18 2008
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// 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.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_NESTED_FRIENDSHIP
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_NESTED_FRIENDSHIP should be defined.
|
||||||
|
// See file boost_no_nested_friendship.ipp for details
|
||||||
|
|
||||||
|
// 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_NESTED_FRIENDSHIP
|
||||||
|
#include "boost_no_nested_friendship.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_nested_friendship = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_nested_friendship::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_typename_with_ctor_fail.cpp
Normal file
37
test/no_typename_with_ctor_fail.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Thu Sep 18 23:32:18 2008
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// 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.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_TYPENAME_WITH_CTOR
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_TYPENAME_WITH_CTOR should not be defined.
|
||||||
|
// See file boost_no_typename_with_ctor.ipp for details
|
||||||
|
|
||||||
|
// 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_TYPENAME_WITH_CTOR
|
||||||
|
#include "boost_no_typename_with_ctor.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_typename_with_ctor::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_typename_with_ctor_pass.cpp
Normal file
37
test/no_typename_with_ctor_pass.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Thu Sep 18 23:32:18 2008
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// 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.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_TYPENAME_WITH_CTOR
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_TYPENAME_WITH_CTOR should be defined.
|
||||||
|
// See file boost_no_typename_with_ctor.ipp for details
|
||||||
|
|
||||||
|
// 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_TYPENAME_WITH_CTOR
|
||||||
|
#include "boost_no_typename_with_ctor.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_typename_with_ctor = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_typename_with_ctor::test();
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user