solidity/test/libsolidity/syntaxTests/inheritance/override/override_multi_layered_fine.sol
2022-02-14 15:31:31 +01:00

19 lines
487 B
Solidity

interface IBase {
function foo() external view;
}
contract Base1 is IBase { function foo() public virtual view {} }
contract Base2 is IBase { function foo() public virtual view {} }
interface IExt1a is IBase {}
interface IExt1b is IBase {}
interface IExt2a is IBase {}
interface IExt2b is IBase {}
contract Ext1 is IExt1a, IExt1b, Base1 {}
contract Ext2 is IExt2a, IExt2b, Base2 {}
contract Impl is Ext1, Ext2 {
function foo() public view override (IBase, Base1, Base2) {}
}