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