solidity/test/libsolidity/smtCheckerTests/functions/function_inline_chain.sol
2021-04-08 21:03:39 +02:00

24 lines
224 B
Solidity

contract C
{
uint y;
function f() public {
if (y != 1)
g();
assert(y == 1);
}
function g() internal {
y = 1;
h();
}
function h() internal {
f();
assert(y == 1);
}
}
// ====
// SMTEngine: all
// ----