summaryrefslogtreecommitdiff
path: root/test/thebug.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'test/thebug.lisp')
-rw-r--r--test/thebug.lisp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/thebug.lisp b/test/thebug.lisp
new file mode 100644
index 0000000..ad87bd7
--- /dev/null
+++ b/test/thebug.lisp
@@ -0,0 +1,9 @@
+(defun! foo (x)
+ (lambda (y)
+ (+ x y)))
+
+(setq! bar (foo 10))
+(setq! baz (foo 100))
+
+(print! (funcall bar 4))
+