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

7 lines
210 B
Solidity
Raw Normal View History

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