Disable large arrays for memory location too

This commit is contained in:
Alex Beregszaszi
2017-07-13 22:47:35 +02:00
parent e640bb2aed
commit 4229caaadc
2 changed files with 6 additions and 2 deletions
@@ -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()