solidity/test/libsolidity/syntaxTests/array/length/not_convertible_to_integer.sol

6 lines
142 B
Solidity
Raw Normal View History

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