aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-24 16:47:52 +0800
committerMistivia <i@mistivia.com>2025-06-24 16:55:20 +0800
commitec5910bea4db98b40db374a2484380fe1892c563 (patch)
tree120cca8628be7868e0eafdac33b89f885f79a0cb /tests
parent65cd835954825568a432c2e62d8019269dcafd74 (diff)
tailcalll on let block
Diffstat (limited to 'tests')
-rw-r--r--tests/let-binding.lisp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/let-binding.lisp b/tests/let-binding.lisp
index eead06a..c132db8 100644
--- a/tests/let-binding.lisp
+++ b/tests/let-binding.lisp
@@ -22,3 +22,9 @@
(assert (not (funcall my-evenp 9)))
(assert (not (funcall my-oddp 10))))
+(assert
+ (= 2
+ (funcall
+ (lambda ()
+ (let () (return 2))
+ (return 1)))))