// Copyright 2018 Peter Dimov // // Distributed under 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 #include #include #if defined(BOOST_DISABLE_THREADS) BOOST_PRAGMA_MESSAGE( "BOOST_DISABLE_THREADS is defined" ) #else BOOST_PRAGMA_MESSAGE( "BOOST_DISABLE_THREADS is not defined" ) #endif #if defined(BOOST_NO_CXX11_HDR_ATOMIC) BOOST_PRAGMA_MESSAGE( "BOOST_NO_CXX11_HDR_ATOMIC is defined" ) #else BOOST_PRAGMA_MESSAGE( "BOOST_NO_CXX11_HDR_ATOMIC is not defined" ) #endif void abi_test_1( boost::shared_ptr & p ) { p.reset(); } boost::shared_ptr abi_test_2( boost::shared_ptr const & p ) { return p; }