blob: a41e146ac90951e9cc494642b0d5f00f80dd8b3d [file] [log] [blame]
swissChilia890aed2022-07-30 17:13:07 -07001(defun main ()
2 ;; Allocate some garbage
3 (let1 (used "this should NOT be freed")
4 (list 1 2 3 4)
5 (list "this" "is" "a" "list")
6 (gc)
7 (print (list "Current allocations" "GC runs"))
8 (print (gc-stats))))
9
10;; Note: This should print that it is freeing both lists, but not the
11;; string