aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/double_variable_declaration_disjoint_scope.sol
blob: d90ec2d77fdf1e4d2afaa355ba98777ce6910bb5 (plain) (blame)
1
2
3
4
5
6
7
8
contract test {
    function f() pure public {
        { uint x; }
        { uint x; }
    }
}
// ----
// DeclarationError: (77-83): Identifier already declared.