summaryrefslogtreecommitdiff
path: root/tests/def.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-03 11:15:34 +0100
committerubq323 <ubq323@ubq323.website>2024-07-03 11:15:34 +0100
commit70c782292f48358fc4d3ac3874ac1951b405de48 (patch)
tree6d39dfa6a1c8aac57a7322d233eb98c284f8d177 /tests/def.bth
parent033a9cbb66d65a0918e2c095d12937afb82fd4b2 (diff)
compile each file like a body, allowing def at file toplevel
Diffstat (limited to 'tests/def.bth')
-rw-r--r--tests/def.bth5
1 files changed, 5 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))