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