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