aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/double_variable_declaration_050.sol
blob: 9c2d40d5204d706f1591fca7a013ba912580bcb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
pragma experimental "v0.5.0";
contract test {
    function f() pure public {
        uint256 x;
        if (true) { uint256 x; }
    }
}
// ----
// Warning: This declaration shadows an existing declaration.
// Warning: Unused local variable.
// Warning: Unused local variable.