aboutsummaryrefslogtreecommitdiff
path: root/examples/working-compiler/coroutine3.test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/working-compiler/coroutine3.test')
-rw-r--r--examples/working-compiler/coroutine3.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/working-compiler/coroutine3.test b/examples/working-compiler/coroutine3.test
new file mode 100644
index 0000000..f4bc1db
--- /dev/null
+++ b/examples/working-compiler/coroutine3.test
@@ -0,0 +1,12 @@
+{
+ { } { -- restart } !!'
+} /restart deffd
+
+0 ==i
+
+restart ==checkpoint
+
+i 1 add =i
+i dump
+
+i 7 lt { checkpoint 0 ! } rep