diff options
author | rumpf_a@web.de <> | 2009-10-27 22:28:02 +0100 |
---|---|---|
committer | rumpf_a@web.de <> | 2009-10-27 22:28:02 +0100 |
commit | d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4 (patch) | |
tree | da88c98e8bd063f7991d2e2cba5797351d301eba /tests/titer5.nim | |
parent | 053309e60aee1eda594a4817ac8ac2fb8c18fb04 (diff) | |
download | Nim-d5acb88cccecf54bcc9a7c13f4fbaa095a8b37d4.tar.gz |
bugfixes: macros; splitFile; strutils.split; iterator.method
Diffstat (limited to 'tests/titer5.nim')
-rwxr-xr-x | tests/titer5.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/titer5.nim b/tests/titer5.nim new file mode 100755 index 000000000..c84c5c807 --- /dev/null +++ b/tests/titer5.nim @@ -0,0 +1,8 @@ +# Test method call syntax for iterators: +const lines = """abc xyz""" + +for x in lines.split(): + stdout.write(x) + +#OUT abcxyz + |