mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
356 B
Solidity
13 lines
356 B
Solidity
pragma experimental ABIEncoderV2;
|
|
contract C {
|
|
function f(uint256[][] calldata x) external returns (uint256) {
|
|
return x[0].length;
|
|
}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// revertStrings: debug
|
|
// compileViaYul: also
|
|
// ----
|
|
// f(uint256[][]): 0x20, 1, 0x20, 0x0100000000000000000000 -> FAILURE, hex"08c379a0", 0x20, 28, "Invalid calldata tail length"
|