From: simonmar Date: Wed, 14 Feb 2001 14:14:55 +0000 (+0000) Subject: [project @ 2001-02-14 14:14:55 by simonmar] X-Git-Tag: Approximately_9120_patches~2622 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=29dcb8812ba4e363cc627861f9695e4d9ad418e5;p=ghc-hetmet.git [project @ 2001-02-14 14:14:55 by simonmar] simple tryPutMVar test. --- diff --git a/ghc/tests/concurrent/should_run/conc028.hs b/ghc/tests/concurrent/should_run/conc028.hs new file mode 100644 index 0000000..ee39aad --- /dev/null +++ b/ghc/tests/concurrent/should_run/conc028.hs @@ -0,0 +1,8 @@ +-- test tryPutMVar + +import Concurrent + +main = do + m <- newMVar () + r <- tryPutMVar m () + print r