solidity/test/libsolidity/syntaxTests/scoping/double_variable_declaration_disjoint_scope.sol
2018-04-10 14:08:22 +02:00

9 lines
162 B
Solidity

contract test {
function f() pure public {
{ uint x; }
{ uint x; }
}
}
// ----
// DeclarationError: (77-83): Identifier already declared.