diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-10-19 20:50:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-10-20 12:22:11 +0300 |
commit | 86dd2edb5afdcde411361f117001a30bc30de901 (patch) | |
tree | 60d2dd6434a5feccab371ab40b32f17574c11f15 /tests | |
parent | b4bcbb30d4c132618bfbc53da088bc9c223daf5c (diff) |
Add support for for-loop element type
Diffstat (limited to 'tests')
-rw-r--r-- | tests/loop/for.testscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/loop/for.testscript b/tests/loop/for.testscript index 5376029..e043ec0 100644 --- a/tests/loop/for.testscript +++ b/tests/loop/for.testscript @@ -116,3 +116,17 @@ a@1 b@2 c@3 EOO + +: elem-attribute +: +$* <<EOI >>EOO +for i [uint64]: 0 1 2 +{ + i += 1 + print $i +} +EOI +1 +2 +3 +EOO |