]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/config/test/no_cxx11_pointer_traits_fail.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / config / test / no_cxx11_pointer_traits_fail.cpp
CommitLineData
b32b8144 1// This file was automatically generated on Wed May 17 01:29:39 2017
7c673cae
FG
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)
7
8// See http://www.boost.org/libs/config for the most recent version.//
9// Revision $Id$
10//
11
12
b32b8144 13// Test file for macro BOOST_NO_CXX11_POINTER_TRAITS
7c673cae 14// This file should not compile, if it does then
b32b8144
FG
15// BOOST_NO_CXX11_POINTER_TRAITS should not be defined.
16// See file boost_no_cxx11_pointer_traits.ipp for details
7c673cae
FG
17
18// Must not have BOOST_ASSERT_CONFIG set; it defeats
19// the objective of this file:
20#ifdef BOOST_ASSERT_CONFIG
21# undef BOOST_ASSERT_CONFIG
22#endif
23
24#include <boost/config.hpp>
7c673cae
FG
25#include "test.hpp"
26
b32b8144
FG
27#ifdef BOOST_NO_CXX11_POINTER_TRAITS
28#include "boost_no_cxx11_pointer_traits.ipp"
7c673cae
FG
29#else
30#error "this file should not compile"
31#endif
32
33int main( int, char *[] )
34{
b32b8144 35 return boost_no_cxx11_pointer_traits::test();
7c673cae
FG
36}
37