summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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