X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fdebug.impure.lisp;h=4d02466256fbb550aa0f5714c7fdae5489afcf0f;hb=7be8d1462a207bda809cd7553c5d76c6ebc4dda2;hp=d9de5758f75a0aca2589ffe458fd22dbaf167d57;hpb=16fa00e83bc553a6436f0eac7ca9d8455f7763fa;p=sbcl.git 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 ()