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