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