Skip to content

Commit

Permalink
Check if the error is in realloc.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Feb 12, 2025
1 parent 8c74e68 commit 1d53de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/stdlib/io/bytebuffer.c3
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module std::io::bytebuffer @test;
import std::io;
/*

fn void write_read()
{
ByteBuffer buffer;
buffer.new_init(0)!!;
buffer.new_init(50, 100)!!;
defer buffer.free();
buffer.write("hello")!!;

Expand Down

0 comments on commit 1d53de4

Please sign in to comment.