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

10 lines
298 B
Solidity

pragma experimental ABIEncoderV2;
contract C {
function f(uint[] memory a) public pure returns (uint) { return 7; }
}
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// ----
// f(uint256[]): 0x20, 1 -> FAILURE, hex"08c379a0", 0x20, 43, "ABI decoding: invalid calldata a", "rray stride"