solidity/test/libsolidity/syntaxTests/scoping/double_variable_declaration_disjoint_scope.sol

10 lines
201 B
Solidity
Raw Normal View History

2018-03-15 23:47:12 +00:00
contract test {
function f() pure public {
{ uint x; }
{ uint x; }
}
}
// ----
// Warning 2072: (57-63): Unused local variable.
// Warning 2072: (77-83): Unused local variable.