diff options
Diffstat (limited to 'src/boost/libs/exception/test/exception_fail.cpp')
-rw-r--r-- | src/boost/libs/exception/test/exception_fail.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/boost/libs/exception/test/exception_fail.cpp b/src/boost/libs/exception/test/exception_fail.cpp new file mode 100644 index 00000000..3249f5c5 --- /dev/null +++ b/src/boost/libs/exception/test/exception_fail.cpp @@ -0,0 +1,12 @@ +//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. + +//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 <boost/exception/exception.hpp> + +void +tester( boost::exception & x ) + { + throw x; //must not compile. + } |