]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // // Unit test for boost::lexical_cast. |
2 | // | |
3 | // See http://www.boost.org for most recent version, including documentation. | |
4 | // | |
f67539c2 | 5 | // Copyright Antony Polukhin, 2013-2020. |
7c673cae FG |
6 | // |
7 | // Distributed under the Boost | |
8 | // Software License, Version 1.0. (See accompanying file | |
9 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). | |
10 | ||
11 | #include <boost/lexical_cast.hpp> | |
12 | #include <boost/type.hpp> | |
13 | ||
14 | #define BOOST_INCLUDE_MAIN | |
15 | #include <boost/test/test_tools.hpp> | |
16 | ||
17 | int test_main(int, char*[]) | |
18 | { | |
19 | boost::lexical_cast<char*>("Hello"); | |
20 | BOOST_CHECK(false); // suppressing warning about 'boost::unit_test::{anonymous}::unit_test_log' defined but not used | |
21 | return 0; | |
22 | } | |
23 |