aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
blob: a5087c57fccda4feb0c32a469761465578f900c0 (plain) (blame)
1
2
3
4
5
6
7
contract test {
    function f() pure public {
        uint a = a;
    }
}
// ----
// DeclarationError: (64-65): Undeclared identifier. "a" is not (or not yet) visible at this point.