solidity/test/libsolidity/semanticTests/revertStrings/calldata_array_dynamic_static_short_decode.sol
2020-02-10 11:57:20 -03:00

13 lines
339 B
Solidity

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"