X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Floop.pure.lisp;h=9e6a2dbba1d57041e27522644a8bb322f9af0be1;hb=f3491f128307938cc56367f739b8fbf9e5d503b6;hp=804cac0c6f1454070ebd41b16b705e63f30c5c11;hpb=f59b6f1f0406f2bbcbec4fa712c0e6d5df06e737;p=sbcl.git diff --git a/tests/loop.pure.lisp b/tests/loop.pure.lisp index 804cac0..9e6a2db 100644 --- a/tests/loop.pure.lisp +++ b/tests/loop.pure.lisp @@ -268,3 +268,8 @@ (assert (null warnings-p)) (assert (null failure-p)) (assert (equal '(t t) (funcall function))))) + +(with-test (:name :bug-654220-regression) + (assert (= 32640 (loop for i to 255 + sum i into sum of-type fixnum + finally (return sum)))))