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

11 lines
161 B
Solidity

contract C {
function f(int x, int y) public pure returns (int) {
require(y != 0);
require(y != -1);
return x / y;
}
}
// ====
// SMTEngine: all
// ----