solidity/test/libsolidity/syntaxTests/inheritance/override/no_matching_resolution.sol

12 lines
252 B
Solidity
Raw Normal View History

contract A {
function f() virtual internal {}
}
contract B is A {
function f() virtual override internal {}
function h() pure internal { f; }
}
contract C is B {
function f() override internal {}
function i() pure internal { f; }
}