Commit 1e5a3f55 authored by Robert Goldman's avatar Robert Goldman
Browse files

Add test for ccl's compiler let

On unmodified version of iterate on CCL this test will fail.
parent ef2dc31d
Loading
Loading
Loading
Loading
+12 −0
Changes for iterate-test.lisp: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1927,4 +1927,16 @@
               (leave 2))))
  2)

#+ccl
(deftest ccl-compiler-let
    (catch 'compiler-warned
      (handler-bind 
          ((ccl:compiler-warning #'(lambda (e)
                                 (declare (ignore e))
                                 (throw 'compiler-warned nil))))
        (let ((def (compile nil '(lambda (list-xs)
                                  (iter (for x in list-xs) (assert x () "~s is not a foo." x))))))
          (when def t))))
  t)

;;; eof