solidity/test/libsolidity/syntaxTests/scoping/double_variable_declaration_disjoint_scope.sol
2018-03-16 00:47:32 +01:00

9 lines
153 B
Solidity

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