forked from boostorg/conversion
Merge from trunk:
* Fix stream related issues with libc++ and clang (fixes #7704, fixes #8267) * Change runtime assert to compile time when converting to pointer (fixes #8267) [SVN r83689]
This commit is contained in:
1 parent
a4bd056b8e
commit
32d70a0764
6 files changed
+184
-49
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// // Unit test for boost::lexical_cast.
|
||||
//
|
||||
// See http://www.boost.org for most recent version, including documentation.
|
||||
//
|
||||
// Copyright Antony Polukhin, 2013.
|
||||
//
|
||||
// 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/lexical_cast.hpp>
|
||||
#include <boost/type.hpp>
|
||||
|
||||
#define BOOST_INCLUDE_MAIN
|
||||
#include <boost/test/test_tools.hpp>
|
||||
|
||||
int test_main(int, char*[])
|
||||
{
|
||||
boost::lexical_cast<char*>("Hello");
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user