solidity/test/libsolidity/smtCheckerTests/operators/mod_n_uint16.sol
2023-03-09 14:59:32 +01:00

13 lines
288 B
Solidity

contract C
{
function f(uint16 x, uint16 y) public pure {
require(y > 0);
uint z = x % y;
assert(z < 100_000);
}
}
// ====
// SMTEngine: all
// ----
// Info 1391: CHC: 2 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.