summaryrefslogtreecommitdiff
path: root/tests/vars6.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-28 10:44:07 +0100
committerubq323 <ubq323@ubq323.website>2024-06-28 10:56:47 +0100
commitb51136defc2898c868e4a1b60025d5bb57347662 (patch)
treed69991826222e3ec0c1148d6a0b417e4badb019c /tests/vars6.bth
parent2293fed1bb278068daaa9f20b752abeb3cf21c49 (diff)
def form for implicit scopes
Diffstat (limited to 'tests/vars6.bth')
-rw-r--r--tests/vars6.bth11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/vars6.bth b/tests/vars6.bth
new file mode 100644
index 0000000..30d3851
--- /dev/null
+++ b/tests/vars6.bth
@@ -0,0 +1,11 @@
+(do
+ (let (a 100 b 200 c 300) (say b))
+ (do
+ (let (a 100 b 200 c 300) (say b))
+ (def x 99)
+ (say "hii")
+ (say x)
+ (let (a 100 b 200 c 300) (say b))
+ (let (x 77) (say x))
+ (say x))
+ (let (a 100 b 200 c 300) (say b)))