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

6 lines
139 B
Solidity

contract C {
uint[1/true] ids;
}
// ----
// TypeError: (22-28): Invalid array length, expected integer literal or constant expression.