solidity/test/libsolidity/syntaxTests/literalOperations/mod_zero_complex.sol
2022-08-05 09:52:48 +02:00

6 lines
158 B
Solidity

contract C {
uint constant b3 = 1 % (-4+((2)*2));
}
// ----
// TypeError 2271: (36-52): Operator % not compatible with types int_const 1 and int_const 0.