solidity/test/cmdlineTests/standard_model_checker_bmc_loop_iterations/input.json

29 lines
398 B
JSON

{
"language": "Solidity",
"sources":
{
"Source":
{
"content": "// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract C
{
function f(uint x) public pure {
require(x == 0);
do {
++x;
} while (x < 2);
assert(x == 2);
}
}"
}
},
"settings":
{
"modelChecker":
{
"engine": "bmc",
"bmcLoopIterations": 3
}
}
}