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

7 lines
260 B
Solidity

contract test {
function fa(bytes memory) public { }
function(bytes memory) external internal a = fa;
}
// ----
// TypeError 7407: (106-108): Type function (bytes memory) is not implicitly convertible to expected type function (bytes memory) external.