From a106ef0a3c71339d00c5c611b1a54039e13513fe Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 27 Jun 2024 16:55:23 +0100 Subject: add vars5 test --- tests/vars5.bth | 7 +++++++ tests/vars5.out | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 tests/vars5.bth create mode 100644 tests/vars5.out (limited to 'tests') 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 -- cgit v1.2.3