Here's my function:
function Test() constant returns (uint[]) {
var myArray = uint[];
myArray.push(123);
return myArray;
}
Here's an error I get in the solidity online compiler:
ballot.sol:25:9: Error: Member "push" not found or not visible after argument-dependent lookup in type(uint256[] memory) myArray.push(123);