solidity/test/cmdlineTests/model_checker_divModSlacks_false_bmc/input.sol

9 lines
184 B
Solidity
Raw Normal View History

2021-07-15 15:39:01 +00:00
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract C {
function f(uint a, uint b) public pure returns (uint, uint) {
require(b != 0);
return (a / b, a % b);
}
}