solidity/test/libsolidity/syntaxTests/unimplemented_super_function_derived.sol

13 lines
302 B
Solidity
Raw Normal View History

contract a {
function f() public;
}
contract b is a {
function f() public { super.f(); }
}
contract c is a,b {
// No error here.
function f() public { super.f(); }
}
// ----
// TypeError: (84-91): Member "f" not found or not visible after argument-dependent lookup in contract super b.