diff --git a/test/aeso_compiler_tests.erl b/test/aeso_compiler_tests.erl index 9f19e82..802d129 100644 --- a/test/aeso_compiler_tests.erl +++ b/test/aeso_compiler_tests.erl @@ -143,6 +143,7 @@ compilable_contracts() -> "address_chain", "namespace_bug", "bytes_to_x", + "bytes_concat", "aens", "tuple_match", "cyclic_include", diff --git a/test/contracts/bytes_concat.aes b/test/contracts/bytes_concat.aes new file mode 100644 index 0000000..05da86c --- /dev/null +++ b/test/contracts/bytes_concat.aes @@ -0,0 +1,4 @@ +contract BytesConcat = + entrypoint rot(a : bytes(3)) = + switch (Bytes.split(a)) + (b, c) => Bytes.concat(c : bytes(2), b)