solidity/test/cmdlineTests/model_checker_invariants_contract_reentrancy/input.sol

9 lines
160 B
Solidity
Raw Normal View History

2021-10-06 09:53:14 +00:00
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
contract test {
uint x;
function f(address _a) public {
_a.call("");
2022-05-04 14:29:50 +00:00
assert(x == 0);
2021-10-06 09:53:14 +00:00
}
}