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/e2e/detectors/test_data/dead-code/0.8.0/dead-code.sol

34 lines
460 B

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{
}
}
abstract contract Test5 {
function unused_but_abstract() internal virtual;
}