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

9 lines
159 B
Solidity

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