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

11 lines
198 B
Solidity
Raw Normal View History

2019-09-16 12:33:43 +00:00
contract I {
2019-11-05 17:25:34 +00:00
function f() external virtual {}
2019-09-16 12:33:43 +00:00
}
contract A is I {
2019-11-05 17:25:34 +00:00
function f() external virtual override {}
2019-09-16 12:33:43 +00:00
}
contract B is I {}
contract C is A, B {
function f() external override(A, I) {}
}