Update throw_from_library_test.cpp

This commit is contained in:
Peter Dimov
2022-01-26 06:20:27 +02:00
parent bba0872af3
commit f1419ae6de
6 changed files with 134 additions and 6 deletions

14
test/lib5_throw.cpp Normal file
View File

@ -0,0 +1,14 @@
// 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 "lib5_throw.hpp"
#include <boost/throw_exception.hpp>
void lib5::f()
{
BOOST_THROW_EXCEPTION( lib5::exception() );
}