solidity/test/libsolidity/syntaxTests/unimplemented_super_function.sol

9 lines
239 B
Solidity
Raw Normal View History

abstract contract a {
function f() public;
}
contract b is a {
2019-09-16 12:33:43 +00:00
function f() public override { super.f(); }
}
// ----
// TypeError: (102-109): Member "f" not found or not visible after argument-dependent lookup in contract super b.