solidity/test/libsolidity/syntaxTests/array/pop/calldata_pop.sol
2020-01-08 16:12:06 +01:00

8 lines
188 B
Solidity

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