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

7 lines
215 B
Solidity
Raw Normal View History

contract C {
function f() public pure returns (mapping(uint=>uint)[] storage m) {
}
}
// ----
2018-08-07 17:12:49 +00:00
// TypeError: (51-82): Data location must be "memory" for return parameter in function, but "storage" was given.