Merge pull request #457 from VoR0220/tokenNameAndStringFix

Fix for Token::name and token::toString
This commit is contained in:
chriseth
2016-04-01 01:08:59 +02:00
5 changed files with 92 additions and 29 deletions
@@ -3258,6 +3258,18 @@ BOOST_AUTO_TEST_CASE(library_functions_do_not_have_value)
BOOST_CHECK(!success(text));
}
BOOST_AUTO_TEST_CASE(invalid_fixed_type_long)
{
char const* text = R"(
contract test {
function f() {
fixed8x888888888888888888888888888888888888888888888888888 b;
}
}
)";
BOOST_CHECK(!success(text));
}
BOOST_AUTO_TEST_SUITE_END()
}