mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add option divModWithSlacks
This commit is contained in:
@@ -0,0 +1 @@
|
||||
--model-checker-engine chc
|
||||
@@ -0,0 +1,8 @@
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user