projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9045aca
)
test for bug 308926
author
Nikodemus Siivola
<nikodemus@random-state.net>
Fri, 9 Dec 2011 13:06:10 +0000
(15:06 +0200)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Fri, 9 Dec 2011 13:06:51 +0000
(15:06 +0200)
Seems to be good now, let's keep it that way.
tests/debug.impure.lisp
patch
|
blob
|
history
diff --git
a/tests/debug.impure.lisp
b/tests/debug.impure.lisp
index
d9de575
..
4d02466
100644
(file)
--- 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 ()