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

8 lines
136 B
Solidity

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