solidity/test/libsolidity/syntaxTests/arrayLength/non_integer_constant_var.sol
2018-04-11 18:01:24 +02:00

7 lines
166 B
Solidity

contract C {
bool constant LEN = true;
uint[LEN] ids;
}
// ----
// TypeError: (52-55): Invalid array length, expected integer literal or constant expression.