solidity/test/cmdlineTests/standard_model_checker_divModSlacks_false_all/input.json

24 lines
377 B
JSON
Raw Normal View History

2021-07-15 15:39:01 +00:00
{
"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": "all",
"divModNoSlacks": true
}
}
}