aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/547_warn_about_address_members_on_non_this_contract_balance.sol
blob: db29ff0faab32a60f514feafcb0fb6d97ba498cc (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() view public {
        C c;
        c.balance;
    }
}
// ----
// TypeError: (65-74): Member "balance" not found or not visible after argument-dependent lookup in contract C