blob: aed9b387834d8d8ecc4a305836e2c4ae528184c2 (
plain) (
blame)
1
2
3
4
5
6
7
|
contract C {
function f(function() external returns (mapping(uint=>uint) storage)) public pure {
}
}
// ----
// TypeError: (57-84): Data location must be "memory" for return parameter in function, but "storage" was given.
// TypeError: (57-84): Internal type cannot be used for external function type.
|