X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fcompiler.pure.lisp;h=64acb3504f06c625359c38b4ca596a83086cc5a6;hb=bef0d9c1274819ee3fb886401209662bace136ce;hp=ff91c66b0683b75af1a40c83d5c254db52a48bdc;hpb=3357d40adfad43ce33a84cdf888977299241f8c8;p=sbcl.git diff --git a/tests/compiler.pure.lisp b/tests/compiler.pure.lisp index ff91c66..64acb35 100644 --- a/tests/compiler.pure.lisp +++ b/tests/compiler.pure.lisp @@ -2215,3 +2215,14 @@ 0) (division-by-zero () :error))))) + +;;; Dead unbound variable (bug 412) +(with-test (:name :dead-unbound) + (assert (eq :error + (handler-case + (funcall (compile nil + '(lambda () + #:unbound + 42))) + (unbound-variable () + :error)))))