mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
257 B
Solidity
8 lines
257 B
Solidity
|
function f() returns (uint) { C.S storage t; t.x; }
|
||
|
|
||
|
contract C {
|
||
|
struct S { uint x; }
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 3464: (45-46): This variable is of storage pointer type and can be accessed without prior assignment, which would lead to undefined behaviour.
|