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

6 lines
86 B
Solidity
Raw Normal View History

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