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