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