mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
265 B
Solidity
9 lines
265 B
Solidity
contract C {
|
|
function f() pure public {
|
|
mapping(uint => uint)[] storage x;
|
|
x;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (95-96): This variable is of storage pointer type and can be accessed without prior assignment, which would lead to undefined behaviour.
|