aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/literalOperations/mod_zero_complex.sol
blob: 4899cac379823356ce0df83a55d427f65ffa5ab2 (plain) (blame)
1
2
3
4
5
contract C {
    uint constant b3 = 1 % (-4+((2)*2));
}
// ----
// TypeError: (36-52): Operator % not compatible with types int_const 1 and int_const 0