solidity/test/libsolidity/syntaxTests/types/mapping/array_argument_public.sol
2020-05-26 10:51:13 +02:00

7 lines
211 B
Solidity

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