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