mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
253 B
Solidity
8 lines
253 B
Solidity
|
contract C {
|
||
|
function f(mapping(uint => uint) storage) public pure {
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (28-49): Type is required to live outside storage.
|
||
|
// TypeError: (28-49): Internal or recursive type is not allowed for public or external functions.
|