solidity/test/libsolidity/syntaxTests/functionTypes/internal_function_as_external_parameter_in_library_external.sol
2018-04-11 22:00:04 +02:00

7 lines
193 B
Solidity

library L {
function f(function(uint) internal returns (uint) x) public {
}
}
// ----
// TypeError: (27-67): Internal or recursive type is not allowed for public or external functions.