aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/098_access_to_default_state_variable_visibility.sol
blob: ab7546c6a437fabe4f410e2afec0b52877911166 (plain) (blame)
1
2
3
4
5
6
7
8
contract c {
    uint a;
}
contract d {
    function g() public { c(0).a(); }
}
// ----
// TypeError: (66-72): Member "a" not found or not visible after argument-dependent lookup in contract c