aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/105_constant_input_parameter.sol
blob: df47aa6bed4936c963fade29851907164cb58b3a (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function f(uint[] memory constant a) public { }
}
// ----
// TypeError: (31-55): Illegal use of "constant" specifier.
// TypeError: (31-55): Constants of non-value type not yet implemented.
// TypeError: (31-55): Uninitialized "constant" variable.