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