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

9 lines
197 B
Solidity

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