mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
227 B
Solidity
12 lines
227 B
Solidity
|
contract A {
|
||
|
function f() internal {}
|
||
|
}
|
||
|
|
||
|
contract B {
|
||
|
function g() external {
|
||
|
A.f;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (94-97): Member "f" not found or not visible after argument-dependent lookup in type(contract A).
|