mirror of https://github.com/crytic/slither
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.
25 lines
245 B
25 lines
245 B
5 years ago
|
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();
|
||
|
}
|
||
|
}
|