pragma solidity ^0.4.18; contract TestMemoryInit { function test() external pure returns (uint[]) { uint[] memory x = new uint[](8); x[5] = 3; return x; } function funcA() public pure returns (uint a, uint b, uint c){ a = 1; b = 2; c = 3; } uint value; }
0.4.18