aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/array/length/non_integer_constant_var.sol
blob: 7a853a3456048f786c95e3fd13a26ca5ab0788da (plain) (blame)
1
2
3
4
5
6
contract C {
    bool constant LEN = true;
    uint[LEN] ids;
}
// ----
// TypeError: (52-55): Invalid array length, expected integer literal or constant expression.