solidity/test/cmdlineTests/standard_model_checker_show_unproved_wrong/input.json

28 lines
388 B
JSON
Raw Normal View History

2021-07-02 12:43:37 +00:00
{
"language": "Solidity",
"sources":
{
"A":
{
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\n\ncontract test {
struct S {
uint x;
}
S s;
function f(bool b) public {
s.x |= b ? 1 : 2;
assert(s.x > 0);
}
}"
}
},
"settings":
{
"modelChecker":
{
"engine": "all",
"showUnproved": "aaa"
}
}
}