aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/literalOperations/mod_zero.sol
blob: 1bbbc3fc908d9035424cd6098893a7af51cf9fe6 (plain) (tree)
1
2
3
4
5




                                                                                       
contract C {
    uint constant b3 = 1 % 0;
}
// ----
// TypeError: (36-41): Operator % not compatible with types int_const 1 and int_const 0