Remove bad test (refs #7421)

[SVN r80731]
This commit is contained in:
Antony Polukhin
2012-09-28 04:55:37 +00:00
parent 824fbd9b06
commit 7b6c4eed7d

View File

@@ -609,7 +609,6 @@ To try_cast_by_ptr(const From& from, const Func& f) {
void test_getting_pointer_to_function()
{
// Just checking that &lexical_cast<To, From> is not ambiguous
(void)&lexical_cast<int, const char*>;
BOOST_CHECK_EQUAL(100, try_cast_by_ptr<int>("100", &boost::lexical_cast<int, const char[4]>));
BOOST_CHECK_EQUAL(100, try_cast_by_ptr<int>("100", &boost::lexical_cast<int, std::string>));
BOOST_CHECK_EQUAL(std::string("100"), try_cast_by_ptr<std::string>(100, &boost::lexical_cast<std::string, int>));