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

7 lines
209 B
Solidity

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