]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/throw_exception/test/throw_exception_nx_test.cpp
1 // Copyright 2019 Peter Dimov
2 // Distributed under the Boost Software License, Version 1.0.
3 // http://www.boost.org/LICENSE_1_0.txt
6 # pragma warning(disable: 4702) // unreachable code
7 # pragma warning(disable: 4577) // noexcept used without /EHsc
10 #include <boost/throw_exception.hpp>
13 class my_exception
: public std::exception
{};
17 boost::throw_exception( my_exception() );
24 void throw_exception( std::exception
const & )