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

7 lines
208 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-49): Data location must be "calldata" for parameter in external function, but "storage" was given.