diff options
author | Araq <rumpf_a@web.de> | 2014-03-05 02:15:08 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-03-05 02:15:08 +0100 |
commit | 94e444c90fa1c8848b398bc163e7f78d7f0b3080 (patch) | |
tree | 00b4d7d1cefc1deb46eed2e04cfb6cc4c5bb9b38 | |
parent | aa92669d9219816f9cd9036b4977ddbdd16d3c5d (diff) | |
parent | 016492375f149a0e71239845d55f8771e151299c (diff) | |
download | Nim-94e444c90fa1c8848b398bc163e7f78d7f0b3080.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
-rw-r--r-- | tests/vm/tstaticprintseq.nim | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/vm/tstaticprintseq.nim b/tests/vm/tstaticprintseq.nim new file mode 100644 index 000000000..99a56d161 --- /dev/null +++ b/tests/vm/tstaticprintseq.nim @@ -0,0 +1,21 @@ +discard """ + msg: '''1 +2 +3 +1 +2 +3''' +""" + +const s = @[1,2,3] + +macro foo: stmt = + for e in s: + echo e + +foo() + +static: + for e in s: + echo e + |