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,22 @@
|
||||
{
|
||||
"language": "Solidity",
|
||||
"sources":
|
||||
{
|
||||
"A":
|
||||
{
|
||||
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\n\ncontract C {
|
||||
function f(uint a, uint b) public pure returns (uint, uint) {
|
||||
require(b != 0);
|
||||
return (a / b, a % b);
|
||||
}
|
||||
}"
|
||||
}
|
||||
},
|
||||
"settings":
|
||||
{
|
||||
"modelChecker":
|
||||
{
|
||||
"engine": "bmc"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user