contract test { function f(uint[] memory constant a) public { } } // ---- // DeclarationError 1788: (31-55): The "constant" keyword can only be used for state variables.