aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/scoping.sol
blob: dae5a42d5e4d73ddf18f2d79faf31b69d27226f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract test {
    function f() public {
        {
            uint256 x;
        }
        x = 2;
    }
}
// ----
// DeclarationError: (93-94): Undeclared identifier.