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

6 lines
155 B
Solidity

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