solidity/test/libsolidity/smtCheckerTests/functions/function_call_does_not_clear_local_vars.sol
2020-03-11 16:29:07 +01:00

12 lines
186 B
Solidity

pragma experimental SMTChecker;
contract C {
function f() public {
uint a = 3;
this.f();
assert(a == 3);
f();
assert(a == 3);
}
}
// ----