solidity/test/libsolidity/syntaxTests/array/pop/calldata_pop.sol
2022-04-01 23:41:18 -05:00

8 lines
199 B
Solidity

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