mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
237 B
Solidity
7 lines
237 B
Solidity
contract c {
|
|
function f4(mapping(uint => uint) storage) pure internal {}
|
|
function f5(mapping(uint => uint) memory) pure internal {}
|
|
}
|
|
// ----
|
|
// TypeError 5380: (93-121): Mapping types can only have a data location of "storage".
|