solidity/test/cmdlineTests/standard_model_checker_invariants_contract/input.json

24 lines
333 B
JSON
Raw Normal View History

2021-10-06 09:53:14 +00:00
{
"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"]
}
}
}