mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
246 B
Solidity
6 lines
246 B
Solidity
contract C {
|
|
function f() internal pure returns (mapping(uint=>uint) storage) {}
|
|
}
|
|
// ----
|
|
// TypeError: (53-80): This variable is of storage pointer type and can be returned without prior assignment, which would lead to undefined behaviour.
|