diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-13 23:02:10 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-14 04:47:35 +0800 |
commit | 4229caaadc1767571806a11ea431c5cf389081ac (patch) | |
tree | cb96bf31298c1fd0c77ee9ab41299b23cfe52475 /test/libsolidity | |
parent | e640bb2aed399fa920e35d42573f625fc139dcce (diff) | |
download | dexon-solidity-4229caaadc1767571806a11ea431c5cf389081ac.tar.gz dexon-solidity-4229caaadc1767571806a11ea431c5cf389081ac.tar.zst dexon-solidity-4229caaadc1767571806a11ea431c5cf389081ac.zip |
Disable large arrays for memory location too
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index dccedbfd..36b48cfd 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -6319,7 +6319,7 @@ BOOST_AUTO_TEST_CASE(too_large_arrays_for_calldata) } } )"; - CHECK_SUCCESS_NO_WARNINGS(text); + CHECK_ERROR(text, TypeError, "Array is too large to be encoded as calldata."); } BOOST_AUTO_TEST_SUITE_END() |