mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
213 B
Solidity
7 lines
213 B
Solidity
contract C {
|
|
function f() public pure returns (mapping(uint=>uint) storage m) {
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (51-80): Data location must be "memory" for return parameter in function, but "storage" was given.
|