aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/argument_public.sol
blob: 32f11fe9167d26dddd9690bbb6185f0e05a31b9f (plain) (blame)
1
2
3
4
5
6
contract C {
    function f(mapping(uint => uint) storage) public pure {
    }
}
// ----
// TypeError: (28-57): Data location must be "memory" for parameter in function, but "storage" was given.