summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/IO/putStr001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib/IO/putStr001.hs')
-rw-r--r--testsuite/tests/lib/IO/putStr001.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/lib/IO/putStr001.hs b/testsuite/tests/lib/IO/putStr001.hs
new file mode 100644
index 0000000000..48b3add3f3
--- /dev/null
+++ b/testsuite/tests/lib/IO/putStr001.hs
@@ -0,0 +1,6 @@
+-- !!! Testing output on stdout
+
+-- stdout is buffered, so test if its buffer
+-- is flushed upon program termination.
+
+main = putStr "Hello, world\n"