solidity/test/libsolidity/smtCheckerTests/overflow/unsigned_guard_sub_overflow.sol
2021-04-20 17:38:29 +02:00

10 lines
145 B
Solidity

contract C {
function f(uint x, uint y) public pure returns (uint) {
require(x >= y);
return x - y;
}
}
// ====
// SMTEngine: all
// ----