solidity/test/libsolidity/syntaxTests/array/pop/calldata_pop.sol

8 lines
191 B
Solidity

contract C {
function f(uint[] calldata x) external {
x.pop();
}
}
// ----
// TypeError 4994: (66-71): Member "pop" is not available in uint256[] calldata outside of storage.