mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
252 B
Solidity
6 lines
252 B
Solidity
contract c {
|
|
function f3(mapping(uint => uint) memory) view public {}
|
|
}
|
|
// ----
|
|
// TypeError 3442: (29-57): Mapping types can only have a data location of "storage" and thus only be parameters or return variables for internal or library functions.
|