solidity/test/libsolidity/syntaxTests/functionTypes/external_function_type_returning_internal.sol

6 lines
166 B
Solidity

contract C {
function() external returns (function () internal) x;
}
// ----
// TypeError 2582: (46-67): Internal type cannot be used for external function type.