solidity/test/libsolidity/syntaxTests/array/concat/bytes_concat_empty_invalid.sol

8 lines
294 B
Solidity
Raw Normal View History

2021-02-23 10:57:02 +00:00
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.