0.7.1.15:
[sbcl.git] / tests / compiler.impure.lisp
index 7caa057..44943e2 100644 (file)
               (setq x nil))))
       (when (and (digs) (digs)) x))))
 
+;;; Bug 132: The compiler used to fail to compile INTEGER-valued CATCH
+;;; tags. This was fixed by Alexey Dejneka in sbcl-0.7.1.14. (They're
+;;; still a bad idea because tags are compared with EQ, but now it's a
+;;; compiler warning instead of a failure to compile.)
+(defun foo ()
+  (catch 0 (print 1331)))
+
 ;;; success
 (quit :unix-status 104)