aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_activation.sol
blob: 8522a0e306ce795f26c353a4103d5d4f653ff1d5 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    function f() pure public {
        x = 3;
        uint x;
    }
}
// ----
// DeclarationError: (55-56): Undeclared identifier. "x" is not (or not yet) visible at this point.