mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
26 lines
248 B
Solidity
26 lines
248 B
Solidity
contract C
|
|
{
|
|
uint a;
|
|
function f() public {
|
|
if (a > 0)
|
|
{
|
|
a = a - 1;
|
|
g();
|
|
}
|
|
else
|
|
assert(a == 0);
|
|
}
|
|
function g() public {
|
|
if (a > 0)
|
|
{
|
|
a = a - 1;
|
|
f();
|
|
}
|
|
else
|
|
assert(a == 0);
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|