mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
216 B
Solidity
9 lines
216 B
Solidity
|
contract C {
|
||
|
struct S { uint y; }
|
||
|
function f() public pure {
|
||
|
S memory x = x.y;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// DeclarationError 7576: (90-91): Undeclared identifier. "x" is not (or not yet) visible at this point.
|