mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
206 B
Solidity
12 lines
206 B
Solidity
contract I {
|
|
function f() external virtual {}
|
|
}
|
|
contract A is I {
|
|
function f() external virtual override {}
|
|
}
|
|
contract B is I {}
|
|
contract C is A, B {
|
|
function f() external override(A, I) {}
|
|
}
|
|
// ----
|