summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/def.bth5
-rw-r--r--tests/def.out2
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/def.bth b/tests/def.bth
new file mode 100644
index 0000000..d4a7d74
--- /dev/null
+++ b/tests/def.bth
@@ -0,0 +1,5 @@
+(def a 100)
+(def b 200)
+(def c 300)
+(say b)
+(let (q 10 r 20 s 30) (say r))
diff --git a/tests/def.out b/tests/def.out
new file mode 100644
index 0000000..f774a6f
--- /dev/null
+++ b/tests/def.out
@@ -0,0 +1,2 @@
+200
+20