diff options
Diffstat (limited to 'testsuite/tests/concurrent/should_run/4030.hs')
-rw-r--r-- | testsuite/tests/concurrent/should_run/4030.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/concurrent/should_run/4030.hs b/testsuite/tests/concurrent/should_run/4030.hs new file mode 100644 index 0000000000..1993bad86b --- /dev/null +++ b/testsuite/tests/concurrent/should_run/4030.hs @@ -0,0 +1,8 @@ +module Main where + +import Control.Concurrent ( forkIO, killThread ) +import Control.Exception ( block ) + +main :: IO () +main = do tid <- block $ forkIO $ let x = x in x + killThread tid |