blob: 349a4f971e40b64d49ccd775a5bda5e36c60e986 (
plain) (
blame)
1
2
3
4
5
6
7
|
contract C {
function f(function(mapping(uint=>uint) storage) external) public pure {
}
}
// ----
// TypeError: (37-56): Data location must be "memory" for parameter in function, but "storage" was given.
// TypeError: (37-56): Internal type cannot be used for external function type.
|