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

6 lines
138 B
Solidity

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