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

11 lines
276 B
Solidity

contract C {
function f(uint x, uint y) public pure returns (uint) {
require(x >= y);
return x - y;
}
}
// ====
// SMTEngine: all
// ----
// Info 1391: CHC: 1 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.