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.
36 lines
305 B
36 lines
305 B
3 years ago
|
contract A{
|
||
|
|
||
|
function f() public virtual {
|
||
|
|
||
|
}
|
||
|
|
||
|
function test() public {
|
||
|
f();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
contract B is A{
|
||
|
|
||
|
function f() public override {
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
contract C is A{
|
||
|
|
||
|
function f() public override {
|
||
|
|
||
|
}
|
||
|
|
||
|
function test2() public {
|
||
|
f();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
contract D is A{
|
||
|
|
||
|
}
|