mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
267 B
Solidity
7 lines
267 B
Solidity
contract C {
|
|
function f() public pure returns (mapping(uint=>uint) memory m) {
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 3442: (51-79): Mapping types can only have a data location of "storage" and thus only be parameters or return variables for internal or library functions.
|