1 2 3 4 5 6 7
contract C { function f() public { mapping(uint=>uint)[] memory x; } } // ---- // TypeError: (47-77): Type mapping(uint256 => uint256)[] memory is only valid in storage.