From f0f04d875ec1db53371331774c0db9a11b072f19 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 17 Aug 2024 19:11:17 +0100 Subject: clos5 test --- tests/clos5.bth | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/clos5.bth (limited to 'tests/clos5.bth') diff --git a/tests/clos5.bth b/tests/clos5.bth new file mode 100644 index 0000000..f4202b9 --- /dev/null +++ b/tests/clos5.bth @@ -0,0 +1,8 @@ +(defn (f) + (def x 0) + (defn (i) x) + (set! x 100) + i) + +(say ((f))) + -- cgit v1.2.3