mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
430 B
Solidity
15 lines
430 B
Solidity
|
pragma experimental ABIEncoderV2;
|
||
|
contract C {
|
||
|
function f(uint256[][2][] calldata x) external returns (uint256) {
|
||
|
return 42;
|
||
|
}
|
||
|
function g(uint256[][2][] calldata x) external returns (uint256) {
|
||
|
return this.f(x);
|
||
|
}
|
||
|
}
|
||
|
// ====
|
||
|
// EVMVersion: >=byzantium
|
||
|
// revertStrings: debug
|
||
|
// ----
|
||
|
// g(uint256[][2][]): 0x20, 0x01, 0x20, 0x00 -> FAILURE, hex"08c379a0", 0x20, 30, "Invalid calldata access offset"
|