solidity/test/libsolidity/syntaxTests/inheritance/super_on_external.sol
2022-04-01 23:41:18 -05:00

11 lines
285 B
Solidity

contract A {
function f() external virtual pure {}
}
contract B is A {
function f() public override pure {
super.f();
}
}
// ----
// TypeError 9582: (123-130='super.f'): Member "f" not found or not visible after argument-dependent lookup in type(contract super B).