blob: 7e8c4501074d11d228f7610b2a0723ba43d9d2f9 (
plain) (
blame)
1
2
3
4
5
|
contract C {
function f() internal pure returns (mapping(uint=>uint) storage) {}
}
// ----
// TypeError: (53-72): This variable is of storage pointer type and might be returned without assignment and could be used uninitialized. Assign the variable (potentially from itself) to fix this error.
|