1.0.19.22: fix bug #425
[sbcl.git] / tests / debug.impure.lisp
index 8b27b70..c01a5a5 100644 (file)
                              (backtrace (member (caar frame-specs) full-backtrace
                                                 :key #'car
                                                 :test #'equal)))
-                        
+
                         (setf result condition)
 
                         (unless backtrace
-                          (format t "~&//~S not in backtrace:~%   ~S~%" 
+                          (format t "~&//~S not in backtrace:~%   ~S~%"
                                   (caar frame-specs)
                                   full-backtrace)
                           (setf result nil))
     (assert (search "returned 1" out))
     (assert (search "returned 120" out))))
 
+(with-test (:name :bug-414)
+  (handler-bind ((warning #'error))
+    (load (compile-file "bug-414.lisp"))
+    (disassemble 'bug-414)))
+
 ;;;; test infinite error protection
 
 (defmacro nest-errors (n-levels error-form)