aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/literalOperations/division_by_zero_complex.sol
blob: 8cc3b6f2a1bf9f6b49092dc6094c00f1eade1436 (plain) (blame)
1
2
3
4
5
contract C {
    uint constant a = 1 / ((1+3)-4);
}
// ----
// TypeError: (35-48): Operator / not compatible with types int_const 1 and int_const 0