solidity/test/libsolidity/syntaxTests/array/concat/bytes_concat_empty_invalid.sol
2021-03-24 11:49:21 +01:00

8 lines
294 B
Solidity

contract C {
function g() public pure returns (bytes memory) {
return bytes.concat;
}
}
// ----
// TypeError 6359: (82-94): Return argument type function () pure returns (bytes memory) is not implicitly convertible to expected type (type of first return variable) bytes memory.