From 703e7dd2531bab99bdf6827118ff342dd975e328 Mon Sep 17 00:00:00 2001
From: simonmar <unknown>
Date: Mon, 13 Mar 2000 11:39:22 +0000
Subject: [PATCH] [project @ 2000-03-13 11:39:22 by simonmar] Add PutFullMVar
 test

---
 ghc/tests/concurrent/should_run/Makefile       | 3 ++-
 ghc/tests/concurrent/should_run/conc018.hs     | 9 +++++++++
 ghc/tests/concurrent/should_run/conc018.stderr | 0
 3 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 ghc/tests/concurrent/should_run/conc018.hs
 create mode 100644 ghc/tests/concurrent/should_run/conc018.stderr

diff --git a/ghc/tests/concurrent/should_run/Makefile b/ghc/tests/concurrent/should_run/Makefile
index cad50aef4287..e53d38ff6383 100644
--- a/ghc/tests/concurrent/should_run/Makefile
+++ b/ghc/tests/concurrent/should_run/Makefile
@@ -1,11 +1,12 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.2 1999/03/16 13:20:21 simonm Exp $
+# $Id: Makefile,v 1.3 2000/03/13 11:39:22 simonmar Exp $
 
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 include $(TOP)/mk/should_run.mk
 
 conc009_RUNTEST_OPTS = -x 1
+conc018_RUNTEST_OPTS = -x 1
 
 SRC_HC_OPTS += -dcore-lint -syslib concurrent -fglasgow-exts
 
diff --git a/ghc/tests/concurrent/should_run/conc018.hs b/ghc/tests/concurrent/should_run/conc018.hs
new file mode 100644
index 000000000000..753d45b7af30
--- /dev/null
+++ b/ghc/tests/concurrent/should_run/conc018.hs
@@ -0,0 +1,9 @@
+import Concurrent
+
+main = do
+  catch (do
+  	m <- newMVar ()
+	putMVar m ()
+     )
+     (\e -> print e)
+ 
diff --git a/ghc/tests/concurrent/should_run/conc018.stderr b/ghc/tests/concurrent/should_run/conc018.stderr
new file mode 100644
index 000000000000..e69de29bb2d1
-- 
GitLab