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 31c20fb81b
commit 3032affd25
No known key found for this signature in database
GPG Key ID: A781B6A92F5C71D6
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