summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/exception/test/to_string_fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/exception/test/to_string_fail.cpp')
-rw-r--r--src/boost/libs/exception/test/to_string_fail.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/boost/libs/exception/test/to_string_fail.cpp b/src/boost/libs/exception/test/to_string_fail.cpp
new file mode 100644
index 00000000..1bb3a2c8
--- /dev/null
+++ b/src/boost/libs/exception/test/to_string_fail.cpp
@@ -0,0 +1,23 @@
+//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/to_string.hpp>
+
+namespace
+n1
+ {
+ struct
+ c1
+ {
+ };
+ }
+
+int
+tester()
+ {
+ using namespace boost;
+ (void) to_string(n1::c1());
+ return 1;
+ }