aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/065_super_excludes_current_contract.sol
blob: 6fa92a6a3d01da0d9fb44e6a3b89a31a54033776 (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