mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
253 B
Solidity
13 lines
253 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 { }
|
|
}
|
|
// ----
|