aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-16 18:56:52 +0800
committerchriseth <c@ethdev.com>2016-09-17 17:29:54 +0800
commit5a45990458e9fc39a124d2b949ff77d1f6f1d8a7 (patch)
tree9cb12e76c9c6c3a1beb79df1745986ade915f128 /test
parentdd2f878e594807cb86bdb49bc979c63e2b8d7e81 (diff)
downloaddexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.tar
dexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.tar.gz
dexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.tar.bz2
dexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.tar.lz
dexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.tar.xz
dexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.tar.zst
dexon-solidity-5a45990458e9fc39a124d2b949ff77d1f6f1d8a7.zip
Access output memory area so that we do not pay for resize during call.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index c8bc7ff9..0ce2851b 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -7191,7 +7191,7 @@ BOOST_AUTO_TEST_CASE(mem_resize_is_not_paid_at_call)
// This tests that memory resize for return values is not paid during the call, which would
// make the gas calculation overly complex. We access the end of the output area before
// the call is made.
- // Tests that this also survivecs the optimizer.
+ // Tests that this also survives the optimizer.
char const* sourceCode = R"(
contract C {
function f() returns (uint[200]) {}