solidity/test/libsolidity/syntaxTests/array/dynamic_memory_array_pop.sol

9 lines
195 B
Solidity
Raw Normal View History

contract C {
function test() public {
uint[] memory data;
data.pop();
}
}
// ----
// TypeError: (74-82): Member "pop" is not available in uint256[] memory outside of storage.