aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/mapping/argument_external.sol
blob: 0354893fb8e2a6d4d2f19ffe3145da9a8f70ba7b (plain) (blame)
1
2
3
4
5
6
7
contract C {
    function f(mapping(uint => uint) storage) external 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.