summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/for.bth2
-rw-r--r--tests/for.out10
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/for.bth b/tests/for.bth
new file mode 100644
index 0000000..4d5f5b1
--- /dev/null
+++ b/tests/for.bth
@@ -0,0 +1,2 @@
+(for (x 10)
+ (say (* x x)))
diff --git a/tests/for.out b/tests/for.out
new file mode 100644
index 0000000..9b81ce7
--- /dev/null
+++ b/tests/for.out
@@ -0,0 +1,10 @@
+0
+1
+4
+9
+16
+25
+36
+49
+64
+81