solidity/test/libsolidity/syntaxTests/inheritance/super_on_external.sol

11 lines
256 B
Solidity
Raw Normal View History

2018-11-22 16:38:12 +00:00
contract A {
function f() external pure {}
}
contract B is A {
2019-09-16 12:33:43 +00:00
function f() public override pure {
2018-11-22 16:38:12 +00:00
super.f();
}
}
// ----
2019-09-16 12:33:43 +00:00
// TypeError: (115-122): Member "f" not found or not visible after argument-dependent lookup in contract super B.