summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent/should_run/conc009.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/concurrent/should_run/conc009.hs')
-rw-r--r--testsuite/tests/concurrent/should_run/conc009.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/concurrent/should_run/conc009.hs b/testsuite/tests/concurrent/should_run/conc009.hs
new file mode 100644
index 0000000000..94c7809332
--- /dev/null
+++ b/testsuite/tests/concurrent/should_run/conc009.hs
@@ -0,0 +1,9 @@
+
+module Main where
+
+import Control.Concurrent
+import Control.Exception
+
+main = do
+ id <- myThreadId
+ throwTo id (ErrorCall "hello")