mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
432 B
Solidity
10 lines
432 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
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 {}
|
||
|
}
|
||
|
// ----
|