mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
201 B
Solidity
9 lines
201 B
Solidity
contract test {
|
|
function f() pure public {
|
|
x = 4;
|
|
uint256 x = 2;
|
|
}
|
|
}
|
|
// ----
|
|
// DeclarationError: (55-56): Undeclared identifier. "x" is not (or not yet) visible at this point.
|