aboutsummaryrefslogtreecommitdiffstats
path: root/test/def.scm
diff options
context:
space:
mode:
Diffstat (limited to 'test/def.scm')
-rw-r--r--test/def.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/def.scm b/test/def.scm
new file mode 100644
index 0000000..6730b9d
--- /dev/null
+++ b/test/def.scm
@@ -0,0 +1,8 @@
+(define foo
+ (lambda (x)
+ (define y x)
+ (define z (+ x 1))
+ z))
+
+(foo 3)
+