solidity/test/libsolidity/syntaxTests/array/slice/calldata_dynamic_encode.sol

7 lines
110 B
Solidity
Raw Normal View History

contract C {
function f(uint256[] calldata x) external pure {
abi.encode(x[1:2]);
}
}
// ----