solidity/test/libsolidity/smtCheckerTests/operators/division_2.sol
2019-12-09 15:32:08 +01:00

8 lines
142 B
Solidity

pragma experimental SMTChecker;
contract C {
function f(uint x, uint y) public pure returns (uint) {
require(y != 0);
return x / y;
}
}