throw_exception/test/lib3_throw.cpp
2018-09-25 20:55:04 +03:00

15 lines
322 B
C++

// 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 "lib3_throw.hpp"
#include <boost/throw_exception.hpp>
void lib3::f()
{
BOOST_THROW_EXCEPTION( lib3::exception() );
}