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

7 lines
211 B
Solidity
Raw Normal View History

contract C {
function f(mapping(uint => uint)[] storage) external pure {
}
}
// ----
// TypeError: (28-51): Location has to be calldata for external functions (remove the "memory" or "storage" keyword).