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

7 lines
260 B
Solidity
Raw Normal View History

contract test {
2018-04-11 15:58:53 +00:00
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.