solidity/test/cmdlineTests/model_checker_divModSlacks_default_bmc/input.sol
2021-08-06 15:50:25 +02:00

9 lines
184 B
Solidity

// 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);
}
}