solidity/test/libsolidity/syntaxTests/unimplemented_super_function.sol

9 lines
247 B
Solidity
Raw Normal View History

abstract contract a {
2019-11-05 17:25:34 +00:00
function f() virtual public;
}
contract b is a {
2019-09-16 12:33:43 +00:00
function f() public override { super.f(); }
}
// ----
2019-11-05 17:25:34 +00:00
// TypeError: (110-117): Member "f" not found or not visible after argument-dependent lookup in contract super b.