solidity/test/libsolidity/syntaxTests/arrayLength/invalid_expression_4.sol

6 lines
155 B
Solidity
Raw Normal View History

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