summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent/should_run/T4030.hs
blob: f160dfda808e8d1eeaf6031e93e916970dfcd6a0 (plain)
1
2
3
4
5
6
7
8
module Main where

import Control.Concurrent
import Control.Exception

main :: IO ()
main = do tid <- mask $ \_ -> forkIO $ let x = x in x
          killThread tid