mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
156 B
Solidity
9 lines
156 B
Solidity
contract test {
|
|
function f() pure public {
|
|
uint256 x;
|
|
if (true) { uint256 x; }
|
|
}
|
|
}
|
|
// ----
|
|
// DeclarationError: (71-80): Identifier already declared.
|