solidity/test/libsolidity/syntaxTests/scoping/double_variable_declaration_disjoint_scope.sol
2022-04-01 23:41:18 -05:00

10 lines
219 B
Solidity

contract test {
function f() pure public {
{ uint x; }
{ uint x; }
}
}
// ----
// Warning 2072: (57-63='uint x'): Unused local variable.
// Warning 2072: (77-83='uint x'): Unused local variable.