aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/unimplemented_super_function_derived.sol
blob: 88acbdf0df664b6eb51f7c781a2c5099e612a4b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
contract a {
    function f() public;
}
contract b is a {
    function f() public { super.f(); }
}
contract c is a,b {
    // No error here.
    function f() public { super.f(); }
}
// ----
// TypeError: (84-91): Member "f" not found or not visible after argument-dependent lookup in contract super b.