solidity/test/libsolidity/smtCheckerTests/functions/internal_call_state_var_init_2.sol
2020-08-14 12:58:27 +02:00

10 lines
154 B
Solidity

pragma experimental SMTChecker;
contract c {
uint x;
function f() internal returns (uint) {
x = x + 1;
}
bool b = (f() > 0) || (f() > 0);
}
// ----