mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
195 B
Solidity
9 lines
195 B
Solidity
|
contract Test {
|
||
|
function f() public pure {
|
||
|
uint[] memory x;
|
||
|
x.push(1);
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (77-83): Member "push" is not available in uint256[] memory outside of storage.
|