mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
292 B
Solidity
8 lines
292 B
Solidity
contract C {
|
|
function f(function(mapping(uint=>uint) storage) external) public pure {
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (37-56): Data location must be "memory" for parameter in function, but "storage" was given.
|
|
// TypeError: (37-56): Internal type cannot be used for external function type.
|