diff options
author | Araq <rumpf_a@web.de> | 2012-01-08 01:29:10 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-01-08 01:29:10 +0100 |
commit | 2ae78c0cfbdcc1a77d6536f360e20c67083da0c7 (patch) | |
tree | 1372102e69089aa1a696477ef9fa25fa65096f1c /tests/compile | |
parent | 7f3b3298b4dc2be10febebc383f42187f968135e (diff) | |
download | Nim-2ae78c0cfbdcc1a77d6536f360e20c67083da0c7.tar.gz |
implicit invokation of items/pairs iterators
Diffstat (limited to 'tests/compile')
-rw-r--r-- | tests/compile/timplicititems.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/compile/timplicititems.nim b/tests/compile/timplicititems.nim new file mode 100644 index 000000000..dbe321cb6 --- /dev/null +++ b/tests/compile/timplicititems.nim @@ -0,0 +1,4 @@ + +for x in [1, 2, 3, 4]: + echo x + |