diff options
author | Chase McDermott <chasemcd1745@tamu.edu> | 2018-08-07 21:19:50 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-08-15 00:53:06 +0800 |
commit | b000a022f2d7c1057ade755ed1ea8c70380688a5 (patch) | |
tree | 1de31eef468d3dfea1dd9b129889e70f86730a4a /test/libsolidity/ABIDecoderTests.cpp | |
parent | e3b6c5a4bdbc3066889b6898e5e07bfd599a4d37 (diff) | |
download | dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.gz dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.tar.zst dexon-solidity-b000a022f2d7c1057ade755ed1ea8c70380688a5.zip |
Update tests
Diffstat (limited to 'test/libsolidity/ABIDecoderTests.cpp')
-rw-r--r-- | test/libsolidity/ABIDecoderTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/ABIDecoderTests.cpp b/test/libsolidity/ABIDecoderTests.cpp index f91a4f85..94319985 100644 --- a/test/libsolidity/ABIDecoderTests.cpp +++ b/test/libsolidity/ABIDecoderTests.cpp @@ -234,7 +234,7 @@ BOOST_AUTO_TEST_CASE(byte_arrays) return (a, b.length, b[3], c); } - function f_external(uint a, bytes b, uint c) + function f_external(uint a, bytes calldata b, uint c) external pure returns (uint, uint, byte, uint) { return (a, b.length, b[3], c); } @@ -261,7 +261,7 @@ BOOST_AUTO_TEST_CASE(calldata_arrays_too_large) { string sourceCode = R"( contract C { - function f(uint a, uint[] b, uint c) external pure returns (uint) { + function f(uint a, uint[] calldata b, uint c) external pure returns (uint) { return 7; } } |