solidity/test/libsolidity/syntaxTests/array/length/invalid_expression_3.sol

6 lines
139 B
Solidity
Raw Normal View History

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