mirror of
https://github.com/boostorg/conversion.git
synced 2026-01-28 09:52:26 +01:00
* 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]
22 lines
542 B
C++
22 lines
542 B
C++
// // 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;
|
|
}
|