test/gc: Add three extra gc's.

* src/test/gc.c (test_gc): Add three extra gc's.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-08-17 20:46:47 +02:00 committed by Jan Nieuwenhuizen
parent a8829d647a
commit 7456242d68
1 changed files with 18 additions and 0 deletions

View File

@ -79,6 +79,24 @@ test_gc (char const *name)
print_arena (gc_free () - 1);
gc_stats_ ("1");
eputs ("\n");
gc_ ();
VALUE (cell_zero) = 'd';
print_arena (gc_free () - 1);
gc_stats_ ("2");
eputs ("\n");
gc_ ();
VALUE (cell_zero) = 'e';
print_arena (gc_free () - 1);
gc_stats_ ("3");
eputs ("\n");
gc_ ();
VALUE (cell_zero) = 'f';
print_arena (gc_free () - 1);
gc_stats_ ("3");
eputs ("\n");
}
void