blob: b3856f58529c0e0a1bd8a87facb63ee12d8e3fde (
plain) (
blame)
1
2
3
4
5
6
7
8
|
contract C {
struct Nested { uint y; }
// ensure that we consider array of function pointers as reference type
function b(function(Nested memory) external returns (uint)[] storage) internal pure {}
function c(function(Nested memory) external returns (uint)[] memory) public pure {}
function d(function(Nested memory) external returns (uint)[] calldata) external pure {}
}
// ----
|