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

6 lines
137 B
Solidity

contract C {
uint[true] ids;
}
// ----
// TypeError: (22-26): Invalid array length, expected integer literal or constant expression.