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