solidity/test/cmdlineTests/standard_model_checker_invariants_contract/input.json
2021-10-26 11:30:30 +02:00

24 lines
333 B
JSON

{
"language": "Solidity",
"sources":
{
"A":
{
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\n\ncontract test {
uint x;
function f() public view {
assert(x < 10);
}
}"
}
},
"settings":
{
"modelChecker":
{
"engine": "chc",
"invariants": ["contract"]
}
}
}