solidity/test/libsolidity/ABIJson/function_type_extended.sol
2019-09-06 14:42:09 +02:00

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"
// }
// ]