diff options
| author | Drahflow <drahflow@gmx.de> | 2014-03-06 13:42:55 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2014-03-06 13:42:55 +0100 |
| commit | ee08bcf48cb6221295ae4b8663317a5320a6450b (patch) | |
| tree | 255e8720fa43c3d56969edeaabb7d2632ca41ee0 /examples/working-compiler/coroutine4.test | |
| parent | 2b3456f8ec1150318430bf71d9af04ff3311e32c (diff) | |
Tested *-based coroutines
Diffstat (limited to 'examples/working-compiler/coroutine4.test')
| -rw-r--r-- | examples/working-compiler/coroutine4.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/working-compiler/coroutine4.test b/examples/working-compiler/coroutine4.test new file mode 100644 index 0000000..ab3f29c --- /dev/null +++ b/examples/working-compiler/coroutine4.test @@ -0,0 +1,18 @@ +{ ==caller ==data + "coroutine 1" dump data dump + data caller * =caller =data + "coroutine 2" dump data dump + data caller * =caller =data + "coroutine 3" dump data dump + data caller * +} !! ==cr + +"data" +cr * -- +"here 1" dump +cr * -- +"here 2" dump +cr * -- +"here 3" dump + +0 sys .exit |
