solidity/test/libsolidity/syntaxTests/unimplemented_super_function.sol

9 lines
229 B
Solidity
Raw Normal View History

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