mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
22 lines
449 B
Solidity
22 lines
449 B
Solidity
|
contract test {
|
||
|
function g(function(test) external returns (test[] memory) x) public {}
|
||
|
}
|
||
|
// ----
|
||
|
// :test
|
||
|
// [
|
||
|
// {
|
||
|
// "inputs":
|
||
|
// [
|
||
|
// {
|
||
|
// "internalType": "function (contract test) external returns (contract test[])",
|
||
|
// "name": "x",
|
||
|
// "type": "function"
|
||
|
// }
|
||
|
// ],
|
||
|
// "name": "g",
|
||
|
// "outputs": [],
|
||
|
// "stateMutability": "nonpayable",
|
||
|
// "type": "function"
|
||
|
// }
|
||
|
// ]
|