summaryrefslogtreecommitdiff
path: root/testsuite/t-do-loop.scm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/t-do-loop.scm')
-rw-r--r--testsuite/t-do-loop.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/t-do-loop.scm b/testsuite/t-do-loop.scm
new file mode 100644
index 000000000..6455bcdb2
--- /dev/null
+++ b/testsuite/t-do-loop.scm
@@ -0,0 +1,5 @@
+(let ((n+ 0))
+ (do ((n- 5 (1- n-))
+ (n+ n+ (1+ n+)))
+ ((= n- 0))
+ (format #f "n- = ~a~%" n-)))