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

7 lines
216 B
Solidity

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