aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/array/length/pure_functions.sol
blob: b620db76348c71c18c910ddfe9a5fa3b7fda1feb (plain) (blame)
1
2
3
4
5
6
contract C {
    uint constant LEN = keccak256(ripemd160(33));
    uint[LEN] ids;
}
// ----
// TypeError: (72-75): Invalid array length, expected integer literal or constant expression.