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.
34 lines
460 B
34 lines
460 B
4 years ago
|
contract Test{
|
||
|
function unused() internal{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
contract Test2{
|
||
|
|
||
|
function unused_but_shadowed() internal virtual{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
contract Test3 is Test2{
|
||
|
function unused_but_shadowed() internal override{
|
||
|
|
||
|
}
|
||
|
|
||
|
function f() public{
|
||
|
unused_but_shadowed();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
contract Test4 is Test2{
|
||
|
function unused_but_shadowed() internal override{
|
||
|
|
||
|
}
|
||
|
}
|
||
3 years ago
|
|
||
|
abstract contract Test5 {
|
||
|
function unused_but_abstract() internal virtual;
|
||
|
}
|