solidity/test/libsolidity/syntaxTests/array/dynamic_memory_array_pop.sol
Erik Kundt 98d52beba3 Adds syntax tests, documentation and changelog entry.
Refines comment for array utility function.
2018-05-30 17:43:20 +02:00

9 lines
195 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.