solidity/test/libsolidity/smtCheckerTests/operators/mod_even.sol
2021-04-08 21:03:39 +02:00

12 lines
150 B
Solidity

contract C
{
function f(uint x) public pure {
require(x < 10000);
uint y = x * 2;
assert((y % 2) == 0);
}
}
// ====
// SMTEngine: all
// ----