summary refs log tree commit diff stats
path: root/tests/accept/compile/tio.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/compile/tio.nim')
-rw-r--r--tests/accept/compile/tio.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/accept/compile/tio.nim b/tests/accept/compile/tio.nim
new file mode 100644
index 000000000..014c32d9f
--- /dev/null
+++ b/tests/accept/compile/tio.nim
@@ -0,0 +1,7 @@
+# test the file-IO

+

+proc main() =

+  for line in lines("thallo.nim"):

+    writeln(stdout, line)

+

+main()