solidity/test/cmdlineTests/standard_model_checker_timeout_chc/input.json
2020-11-06 13:35:07 +00:00

16 lines
414 B
JSON

{
"language": "Solidity",
"sources":
{
"A":
{
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\npragma experimental SMTChecker;\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);}}"
}
},
"modelCheckerSettings":
{
"engine": "chc",
"timeout": 1000
}
}