summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-01-29 14:18:43 +0100
committerAraq <rumpf_a@web.de>2011-01-29 14:18:43 +0100
commit36accda8aaef4bd8daaf23e3eb369c2ca540f224 (patch)
tree39a28c97a100ce26d2bb6a9329811fcc83306a72 /tests
parentf46870fe1ce3a28ab44417effd1c684522568a8d (diff)
downloadNim-36accda8aaef4bd8daaf23e3eb369c2ca540f224.tar.gz
unary <; countup two type parameters; --recursivePath should work now
Diffstat (limited to 'tests')
-rwxr-xr-xtests/accept/run/spec.csv1
-rw-r--r--tests/accept/run/tcountup.nim8
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/accept/run/spec.csv b/tests/accept/run/spec.csv
index 09dbc40b3..e9c49ea74 100755
--- a/tests/accept/run/spec.csv
+++ b/tests/accept/run/spec.csv
@@ -19,6 +19,7 @@ tcnstseq.nim;AngelikaAnneAnnaAnkaAnja
 tconstr2.nim;69
 tcontinuexc.nim;ECcaught
 tcopy.nim;TEMP=C:\Programs\xyz\bin
+tcountup.nim;0123456789
 tcurrncy.nim;25
 temit.nim;509
 tenumhole;my value A1my value Bconc2valueCabc4abc
diff --git a/tests/accept/run/tcountup.nim b/tests/accept/run/tcountup.nim
new file mode 100644
index 000000000..4d4c9b304
--- /dev/null
+++ b/tests/accept/run/tcountup.nim
@@ -0,0 +1,8 @@
+
+# Test new countup and unary < 
+
+for i in 0 .. < 10'i64: 
+  stdout.write(i)
+  
+#OUT 0123456789
+