solidity/test/cmdlineTests/standard_model_checker_timeout_bmc/input.json
2021-04-08 21:03:39 +02:00

19 lines
399 B
JSON

{
"language": "Solidity",
"sources":
{
"A":
{
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\n\ncontract test {\nfunction f(uint x, uint y, uint k) public pure {\nrequire(k > 0); require(x % k == 0); require(y % k == 0); uint r = mulmod(x, y, k); assert(r % k == 0);}}"
}
},
"settings":
{
"modelChecker":
{
"engine": "bmc",
"timeout": 1000
}
}
}