aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_self_use_050.sol
blob: e942020e8470f61776cd2f42684a0a2fd7bcac36 (plain) (blame)
1
2
3
4
5
6
7
8
pragma experimental "v0.5.0";
contract test {
    function f() pure public {
        uint a = a;
    }
}
// ----
// DeclarationError: Undeclared identifier. Did you mean "a"?