aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping_activation.sol
blob: 0ed74a00dc9db16b50170d31aac480b1986cd9ae (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: Undeclared identifier. Did you mean "x"?