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

16 lines
358 B
Solidity

abstract contract A {
int public testvar;
function foo() internal virtual returns (uint256);
function test(uint8 _a) internal returns (uint256);
}
abstract contract B {
function foo() internal virtual returns (uint256);
}
abstract contract C is A {
}
abstract contract D is A, B, C {
function foo() internal override(A, B) returns (uint256);
}
// ----