aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/105_constant_input_parameter.sol
blob: ba05fcb316afac2121e4c13f620c70ccdbb31b1c (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function f(uint[] memory constant a) public { }
}
// ----
// DeclarationError: (31-55): The "constant" keyword can only be used for state variables.
// TypeError: (31-55): Constants of non-value type not yet implemented.
// TypeError: (31-55): Uninitialized "constant" variable.