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