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

6 lines
130 B
Solidity
Raw Normal View History

contract C {
uint[3/0] ids;
}
// ----
// TypeError: (22-25): Operator / not compatible with types int_const 3 and int_const 0