Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/tests/reentrancy-0.5.1-events.sol

25 lines
245 B

contract C{
function f() public{
}
}
contract Test{
event E();
function bug(C c) public{
c.f();
emit E();
}
function ok(C c) public{
emit E();
c.f();
c.f();
}
}