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

7 lines
255 B
Solidity

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