mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
280 B
Solidity
18 lines
280 B
Solidity
contract A{
|
|
function f() public pure{
|
|
|
|
}
|
|
}
|
|
contract B{
|
|
A private a;
|
|
}
|
|
contract C{
|
|
B b;
|
|
function f() public view{
|
|
b.a.f();
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// TypeError 9582: (141-144): Member "a" not found or not visible after argument-dependent lookup in contract B.
|