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

9 lines
153 B
Solidity
Raw Normal View History

2018-03-15 23:47:12 +00:00
contract test {
function f() pure public {
{ uint x; }
{ uint x; }
}
}
// ----
// DeclarationError: Identifier already declared.