X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffinalize.test.sh;h=06fae1ea760ddc62da65382581ac502cf9339de8;hb=ec30c81b59228c659fd602f98b7d7c9fc162cc0f;hp=d19df755962e4e0c56191fc91f5b8bd1b88b580e;hpb=f35f14479a64dd97f93d2d91dc154bdc141d6842;p=sbcl.git diff --git a/tests/finalize.test.sh b/tests/finalize.test.sh index d19df75..06fae1e 100644 --- a/tests/finalize.test.sh +++ b/tests/finalize.test.sh @@ -16,15 +16,15 @@ ${SBCL:-sbcl} < /dev/null & (declare (ignore _)) nil) -(let ((junk (mapcar (lambda (_) - (declare (ignore _)) - (let ((x (gensym))) - (finalize x (lambda () - ;; cons in finalizer - (setf *tmp* (make-list 10000)) - (incf *count*))) - x)) - (make-list 10000)))) +(let ((junk (mapcar (compile nil '(lambda (_) + (declare (ignore _)) + (let ((x (gensym))) + (finalize x (lambda () + ;; cons in finalizer + (setf *tmp* (make-list 10000)) + (incf *count*))) + x))) + (make-list 10000)))) (setf junk (foo junk)) (foo junk))