solidity/test/cmdlineTests/standard_model_checker_invariants_contract_reentrancy/input.json
2022-05-04 19:04:54 +02:00

25 lines
374 B
JSON

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