solidity/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_decode.sol

13 lines
339 B
Solidity
Raw Normal View History

2020-01-22 14:48:56 +00:00
pragma experimental ABIEncoderV2;
contract C {
function f(uint256[][2][] calldata x) external returns (uint256) {
x[0];
return 23;
}
}
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// ----
// f(uint256[][2][]): 0x20, 0x01, 0x20, 0x00 -> FAILURE, hex"08c379a0", 0x20, 28, "Invalid calldata tail offset"