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

6 lines
137 B
Solidity
Raw Normal View History

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