summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/IO/concio001.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib/IO/concio001.hs')
-rw-r--r--testsuite/tests/lib/IO/concio001.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/lib/IO/concio001.hs b/testsuite/tests/lib/IO/concio001.hs
new file mode 100644
index 0000000000..786a311ce5
--- /dev/null
+++ b/testsuite/tests/lib/IO/concio001.hs
@@ -0,0 +1,6 @@
+import Control.Concurrent
+
+main = do
+ forkIO $ do threadDelay 100000; putStrLn "child"
+ getLine
+ putStrLn "parent"