blob: 310c073f5c2819deaaa8d7e61f75e7ccb7637495 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
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.
|