mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
394 B
Solidity
13 lines
394 B
Solidity
pragma abicoder v2;
|
|
|
|
contract C {
|
|
function f(uint[] calldata) public {}
|
|
}
|
|
// ====
|
|
// revertStrings: debug
|
|
// compileViaYul: also
|
|
// ----
|
|
// f(uint256[]): 0x20, 0 ->
|
|
// f(uint256[]): 0x20, 1 -> FAILURE, hex"08c379a0", 0x20, 0x2b, "ABI decoding: invalid calldata a", "rray stride"
|
|
// f(uint256[]): 0x20, 2 -> FAILURE, hex"08c379a0", 0x20, 0x2b, "ABI decoding: invalid calldata a", "rray stride"
|