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