mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
254 B
Solidity
14 lines
254 B
Solidity
contract A {
|
|
function faa() public virtual {}
|
|
}
|
|
abstract contract B is A {
|
|
function foo() public virtual;
|
|
function faa() public virtual override {}
|
|
}
|
|
contract C is B {
|
|
function foo() public override { }
|
|
function faa() public override { }
|
|
}
|
|
|
|
// ----
|