aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/540_array_length_invalid_expression_division_by_zero.sol
blob: 38a80867d66533cacc81bf9ae5a0c90b5aa4c568 (plain) (blame)
1
2
3
4
5
contract C {
    uint[3/0] ids;
}
// ----
// TypeError: (22-25): Operator / not compatible with types int_const 3 and int_const 0