aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/mapping_data_location_function_param_public.sol
blob: b63868b8932591919e09707a1075e954cc122fb1 (plain) (blame)
1
2
3
4
5
6
contract c {
    function f3(mapping(uint => uint) memory) view public {}
}
// ----
// TypeError: (29-57): Type is required to live outside storage.
// TypeError: (29-57): Internal or recursive type is not allowed for public or external functions.