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

7 lines
222 B
Solidity
Raw Normal View History

contract C {
function f(mapping(uint => uint)[] storage) external pure {
}
}
// ----
2020-05-14 17:02:45 +00:00
// TypeError: (28-59): Data location must be "memory" or "calldata" for parameter in external function, but "storage" was given.