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

29 lines
378 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{
}
}