This commit is contained in:
2026-04-28 08:04:04 -05:00
parent 960cc76005
commit 8ff66ac1e2
3 changed files with 8 additions and 6 deletions

View File

@@ -83,8 +83,8 @@ TEST(Bytecode, Code)
f.code.append_byte(0x68);
f.code.append_int(42);
f = bp.functions.emplace_back(2, 1);
f.code.append_byte(0x42);
auto& f2 = bp.functions.emplace_back(2, 1);
f2.code.append_byte(0x42);
std::vector<uint8_t> expected = {
// header