aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/098_access_to_default_state_variable_visibility.sol
blob: 8c9d0c0f85d784226bf9d3c03f4d1269dda6312f (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.