Adding syntax tests for bytes.concat.

This commit is contained in:
Djordje Mijovic
2021-03-24 11:49:21 +01:00
parent 840df80dac
commit e7da9f3d52
4 changed files with 37 additions and 0 deletions
@@ -0,0 +1,7 @@
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.