mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
252 B
Solidity
12 lines
252 B
Solidity
|
contract A {
|
||
|
function f() virtual internal {}
|
||
|
}
|
||
|
contract B is A {
|
||
|
function f() virtual override internal {}
|
||
|
function h() pure internal { f; }
|
||
|
}
|
||
|
contract C is B {
|
||
|
function f() override internal {}
|
||
|
function i() pure internal { f; }
|
||
|
}
|