solidity/test/libsolidity/syntaxTests/array/concat/bytes_concat_empty_invalid.sol
2021-10-13 15:02:02 +02:00

8 lines
291 B
Solidity

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