aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/065_super_excludes_current_contract.sol
blob: 544df1a562c0cb7bbc96d49ec169e671acf9de7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
contract A {
    function b() public {}
}

contract B is A {
    function f() public {
        super.f();
    }
}
// ----
// TypeError: (95-102): Member "f" not found or not visible after argument-dependent lookup in contract super B.