solidity/test/libsolidity/syntaxTests/arrayLength/pure_functions.sol
2018-04-11 18:01:24 +02:00

7 lines
186 B
Solidity

contract C {
uint constant LEN = keccak256(ripemd160(33));
uint[LEN] ids;
}
// ----
// TypeError: (72-75): Invalid array length, expected integer literal or constant expression.