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

16 lines
192 B
Solidity

contract C
{
uint public x;
function g() public {
x = 0;
this.h();
assert(x == 2);
}
function h() public {
x = 2;
}
}
// ====
// SMTEngine: all
// ----