solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/171_assignment_to_const_array_vars.sol

6 lines
142 B
Solidity

contract C {
uint[3] constant x = [uint(1), 2, 3];
}
// ----
// TypeError 9259: (17-53): Constants of non-value type not yet implemented.