aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/scoping/double_variable_declaration_disjoint_scope.sol
blob: 36bae6a8bdd2f1388efc4b8920f7a389507e7639 (plain) (blame)
1
2
3
4
5
6
7
8
9
contract test {
    function f() pure public {
        { uint x; }
        { uint x; }
    }
}
// ----
// Warning: (57-63): Unused local variable.
// Warning: (77-83): Unused local variable.