From: Nikodemus Siivola Date: Fri, 9 Dec 2011 13:06:10 +0000 (+0200) Subject: test for bug 308926 X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=722a3f7ec83e075a483161ffff76e1392c66cc22;p=sbcl.git test for bug 308926 Seems to be good now, let's keep it that way. --- diff --git a/tests/debug.impure.lisp b/tests/debug.impure.lisp index d9de575..4d02466 100644 --- a/tests/debug.impure.lisp +++ b/tests/debug.impure.lisp @@ -233,6 +233,19 @@ (throw 'no-such-tag t)) (assert (verify-backtrace #'throw-test '((throw-test)))))) +(defun bug-308926 (x) + (let ((v "foo")) + (flet ((bar (z) + (oops v z) + (oops z v))) + (bar x) + (bar v)))) + +(with-test (:name :bug-308926) + (assert (verify-backtrace (lambda () (bug-308926 13)) + '(((flet bar :in bug-308926) 13) + (bug-308926 &rest t))))) + ;;; test entry point handling in backtraces (defun oops ()