summary refs log tree commit diff stats
path: root/tests/osproc/ta_in.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/osproc/ta_in.nim')
-rw-r--r--tests/osproc/ta_in.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/osproc/ta_in.nim b/tests/osproc/ta_in.nim
new file mode 100644
index 000000000..b46890f6e
--- /dev/null
+++ b/tests/osproc/ta_in.nim
@@ -0,0 +1,5 @@
+# This file is prefixed with an "a", because other tests
+# depend on it and it must be compiled first.
+import strutils
+let x = stdin.readLine()
+echo x.parseInt + 5