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

7 lines
228 B
Solidity

library L {
// Used to cause internal error
function g(function(uint) internal returns (uint)[] storage x) public { }
}
// ----
// TypeError 4103: (63-113): Internal type is not allowed for public or external functions.