diff options
author | chriseth <c@ethdev.com> | 2016-04-01 07:08:59 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-04-01 07:08:59 +0800 |
commit | 285fdf3b0af6b1be5b0f184e095d8cf4bd204c6c (patch) | |
tree | 1b0e1a488c4ed612678dfe29a9b7d94b13747946 /test/libsolidity | |
parent | c67926cf2be95e9275eb2b7fe904131e7e8842ad (diff) | |
parent | 3fc67245bf065837a3565fb89b5ee3061c3a2291 (diff) | |
download | dexon-solidity-285fdf3b0af6b1be5b0f184e095d8cf4bd204c6c.tar.gz dexon-solidity-285fdf3b0af6b1be5b0f184e095d8cf4bd204c6c.tar.zst dexon-solidity-285fdf3b0af6b1be5b0f184e095d8cf4bd204c6c.zip |
Merge pull request #457 from VoR0220/tokenNameAndStringFix
Fix for Token::name and token::toString
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 3d0cc2cd..684731e8 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -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() } |