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