aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/argument_public.sol
blob: e4121c7fbcd0a13da337d3fed3a3fa22c1829366 (plain) (blame)
1
2
3
4
5
6
7
contract C {
    function f(mapping(uint => uint) storage) public pure {
    }
}
// ----
// TypeError: (28-49): Type is required to live outside storage.
// TypeError: (28-49): Internal or recursive type is not allowed for public or external functions.