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

11 lines
269 B
Solidity
Raw Normal View History

2018-11-22 16:38:12 +00:00
contract A {
2019-11-05 17:25:34 +00:00
function f() external virtual pure {}
2018-11-22 16:38:12 +00:00
}
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();
}
}
// ----
// TypeError 9582: (123-130): Member "f" not found or not visible after argument-dependent lookup in contract super B.