mirror of
https://github.com/boostorg/exception.git
synced 2025-07-10 11:06:34 +02:00
to_string fixes
[SVN r44164]
This commit is contained in:
23
test/to_string_fail.cpp
Normal file
23
test/to_string_fail.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
//Copyright (c) 2006-2008 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;
|
||||
}
|
Reference in New Issue
Block a user