solidity/test/libsolidity/syntaxTests/array/concat/bytes_concat_empty_invalid.sol
2022-04-01 23:41:18 -05:00

8 lines
309 B
Solidity

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