aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/arrayLength/not_convertible_to_integer.sol
blob: b44ccfe9318cf6ed3d1495bf0d23c005c2ba1bed (plain) (blame)
1
2
3
4
5
contract C {
    uint[true] ids;
}
// ----
// TypeError: (22-26): Invalid array length, expected integer literal or constant expression.