summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-27 16:55:23 +0100
committerubq323 <ubq323@ubq323.website>2024-06-27 16:55:23 +0100
commita106ef0a3c71339d00c5c611b1a54039e13513fe (patch)
tree9ba16651678b188ed02c702893f3f58d33dafc48
parent991e694b558691264f82d80a7aa1b86ef3d2c92c (diff)
add vars5 test
-rw-r--r--tests/vars5.bth7
-rw-r--r--tests/vars5.out5
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/vars5.bth b/tests/vars5.bth
new file mode 100644
index 0000000..7a0b57c
--- /dev/null
+++ b/tests/vars5.bth
@@ -0,0 +1,7 @@
+(do
+ (let (a 100 b 200 c 300) (say b))
+ (do
+ (let (a 100 b 200 c 300) (say b))
+ (say "hii")
+ (let (a 100 b 200 c 300) (say b)))
+ (let (a 100 b 200 c 300) (say b)))
diff --git a/tests/vars5.out b/tests/vars5.out
new file mode 100644
index 0000000..c9f8c44
--- /dev/null
+++ b/tests/vars5.out
@@ -0,0 +1,5 @@
+200
+200
+hii
+200
+200