solidity/test/libsolidity/syntaxTests/inheritance/super_on_external.sol
2019-10-30 17:31:33 +01:00

11 lines
256 B
Solidity

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