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

import GHC.Conc

-- Create a new TVar and never use it
main = do
  putStr "Before\n"
  t <- atomically ( newTVar 42 )
  putStr "After\n"