summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/throw_exception/test/lib3_throw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/throw_exception/test/lib3_throw.cpp')
-rw-r--r--src/boost/libs/throw_exception/test/lib3_throw.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/boost/libs/throw_exception/test/lib3_throw.cpp b/src/boost/libs/throw_exception/test/lib3_throw.cpp
new file mode 100644
index 00000000..eb7d348b
--- /dev/null
+++ b/src/boost/libs/throw_exception/test/lib3_throw.cpp
@@ -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 "lib3_throw.hpp"
+#include <boost/throw_exception.hpp>
+
+void lib3::f()
+{
+ BOOST_THROW_EXCEPTION( lib3::exception() );
+}