solidity/test/libsolidity/semanticTests/abiEncoderV1/dynamic_arrays.sol
2022-05-19 20:23:28 +02:00

9 lines
254 B
Solidity

contract C {
function f(uint a, uint16[] memory b, uint c)
public pure returns (uint, uint, uint) {
return (b.length, b[a], c);
}
}
// ----
// f(uint256,uint16[],uint256): 6, 0x60, 9, 7, 11, 12, 13, 14, 15, 16, 17 -> 7, 17, 9