solidity/test/libsolidity/syntaxTests/inheritance/override/override_base_base.sol
2019-11-14 11:49:39 +01:00

21 lines
440 B
Solidity

abstract contract A {
function foo() internal virtual returns (uint256);
}
abstract contract B is A {
function foo() internal override virtual returns (uint256);
}
abstract contract C is B {
function foo() internal override virtual returns (uint256);
}
abstract contract D is C {
function foo() internal override virtual returns (uint256);
}
abstract contract X is D {
function foo() internal override returns (uint256);
}
// ----