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

13 lines
331 B
Solidity
Raw Normal View History

2020-01-22 14:48:56 +00:00
pragma experimental ABIEncoderV2;
contract C {
function f(uint256[][] calldata a) external returns (uint) {
return 42;
}
}
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// compileViaYul: also
2020-01-22 14:48:56 +00:00
// ----
// f(uint256[][]): 0x20, 1 -> FAILURE, hex"08c379a0", 0x20, 43, "ABI decoding: invalid calldata a", "rray stride"