diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-06-09 17:55:19 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-06-09 17:55:19 +0800 |
commit | 4967535f8a9b46edfa029793e9d38125afd886cf (patch) | |
tree | 5412e78bcc68913116f5688fa1f82576ba0b8929 /libsolidity/SolidityNameAndTypeResolution.cpp | |
parent | 1ac5f3c04d3df03df4ae2997c1a2ea0ced9f1311 (diff) | |
download | dexon-solidity-4967535f8a9b46edfa029793e9d38125afd886cf.tar.gz dexon-solidity-4967535f8a9b46edfa029793e9d38125afd886cf.tar.zst dexon-solidity-4967535f8a9b46edfa029793e9d38125afd886cf.zip |
cleaned up the tests
Diffstat (limited to 'libsolidity/SolidityNameAndTypeResolution.cpp')
-rw-r--r-- | libsolidity/SolidityNameAndTypeResolution.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libsolidity/SolidityNameAndTypeResolution.cpp b/libsolidity/SolidityNameAndTypeResolution.cpp index ca89f42b..b078fe6a 100644 --- a/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/libsolidity/SolidityNameAndTypeResolution.cpp @@ -1665,16 +1665,6 @@ BOOST_AUTO_TEST_CASE(local_const_variable) BOOST_CHECK_THROW(parseTextAndResolveNames(text), ParserError); } -BOOST_AUTO_TEST_CASE(bytes0_array) -{ - char const* text = R"( - contract Foo { - bytes0[] illegalArray; - } - )"; - BOOST_CHECK_THROW(parseTextAndResolveNames(text), DeclarationError); -} - BOOST_AUTO_TEST_CASE(overloaded_function_cannot_resolve) { char const* sourceCode = R"( |