aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/array_argument_public.sol
blob: 69dcec0177afb850d8cca8f14a59b238e8b51efd (plain) (blame)
1
2
3
4
5
6
contract C {
    function f(mapping(uint => uint)[] storage) public pure {
    }
}
// ----
// TypeError: (28-51): Location has to be memory for publicly visible functions (remove the "storage" or "calldata" keyword).