From 543419134f19e582267c663155d142712bc82f45 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Mon, 17 Aug 2020 20:46:47 +0200 Subject: [PATCH] test/gc: Add three extra gc's. * src/test/gc.c (test_gc): Add three extra gc's. --- src/test/gc.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/test/gc.c b/src/test/gc.c index 9d00f46e..00cd23d9 100644 --- a/src/test/gc.c +++ b/src/test/gc.c @@ -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