solidity/test/libsolidity/syntaxTests/types/mapping/function_type_argument_external.sol

7 lines
231 B
Solidity
Raw Normal View History

contract C {
function f(function(mapping(uint=>uint) storage) external) public pure {
}
}
// ----
// TypeError 6651: (37-64): Data location must be "memory" or "calldata" for parameter in function, but "storage" was given.