X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Floop.pure.lisp;h=cae55c590c19b4101dde84f6d4cd569e5114ddef;hb=d8659f1e656234e8f0f47d5295b503dd6cff4aba;hp=45d190aae841945633bc797834ebd7d9102305f7;hpb=970dd272dc84f7420252eadb4829cc193f795716;p=sbcl.git diff --git a/tests/loop.pure.lisp b/tests/loop.pure.lisp index 45d190a..cae55c5 100644 --- a/tests/loop.pure.lisp +++ b/tests/loop.pure.lisp @@ -238,3 +238,7 @@ (macroexpand '(LOOP WITH A = 0 FOR A DOWNFROM 10 TO 0 DO (PRINT A)))) (declare (ignore _)) (assert (typep condition 'program-error))) + +;;; Loop variable with a range excluding 0, reported by Andras Simon. +;;; (Used to signal an error during macroexpansion.) +(assert (not (loop with foo of-type (single-float 1.0 2.0) = 1.5 do (return))))