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

9 lines
203 B
Solidity

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