solidity/test/cmdlineTests/model_checker_invariants_contract_reentrancy/input.sol
2021-10-26 11:30:30 +02:00

12 lines
209 B
Solidity

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract test {
uint x;
function f(address _a) public {
_a.call("");
assert(x < 10);
}
function g() public view {
assert(x < 10);
}
}