summaryrefslogtreecommitdiff
path: root/pit/test/test5.pit
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-09-01 06:26:13 -0400
committerLLLL Colonq <llll@colonq>2026-09-01 06:26:13 -0400
commitff7407c146b8129c2f1cc7ebe3b5771ad2f5dfdd (patch)
treebc70d9773ebc0deb25773d3b5c86ec7ea96eef6d /pit/test/test5.pit
parent6ebac820c84b218a45368eeaf1c853ff9c9d638f (diff)
pit: Fix evaluator
Diffstat (limited to 'pit/test/test5.pit')
-rw-r--r--pit/test/test5.pit5
1 files changed, 5 insertions, 0 deletions
diff --git a/pit/test/test5.pit b/pit/test/test5.pit
new file mode 100644
index 0000000..3ea3fc7
--- /dev/null
+++ b/pit/test/test5.pit
@@ -0,0 +1,5 @@
+(defun! foo (x)
+ (print! x)
+ (foo (+ x 1)))
+
+(foo 0) \ No newline at end of file