solidity/test/libsolidity/smtCheckerTests/functions/functions_recursive.sol

18 lines
154 B
Solidity
Raw Normal View History

contract C
{
uint a;
function g() public {
if (a > 0)
{
a = a - 1;
g();
}
else
assert(a == 0);
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----