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.
30 lines
378 B
30 lines
378 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{
|
||
|
|
||
|
}
|
||
|
}
|