solidity/test/libsolidity/smtCheckerTests/functions/internal_call_state_var_init_2.sol

10 lines
154 B
Solidity
Raw Normal View History

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