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

6 lines
90 B
Solidity

contract C {
function f(uint256[] calldata x) external pure {
x[1:2];
}
}