solidity/test/libsolidity/syntaxTests/types/mapping/function_type_argument_external.sol
2020-04-16 16:42:12 +02:00

7 lines
212 B
Solidity

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