[commit: base] master: Add a test for #7653 (13ac46d)

Ian Lynagh igloo at earth.li
Sat Jun 8 22:19:12 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

https://github.com/ghc/packages-base/commit/13ac46d90f55bb609a00ce87736fbf79fa4adcbf

>---------------------------------------------------------------

commit 13ac46d90f55bb609a00ce87736fbf79fa4adcbf
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sat Jun 8 21:09:59 2013 +0100

    Add a test for #7653

>---------------------------------------------------------------

 tests/T7653.hs |    7 +++++++
 tests/all.T    |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/tests/T7653.hs b/tests/T7653.hs
new file mode 100644
index 0000000..4ab8674
--- /dev/null
+++ b/tests/T7653.hs
@@ -0,0 +1,7 @@
+
+import Control.Monad;
+import Control.Concurrent
+
+main :: IO ()
+main = replicateM_ 1000000 (forkIO (threadDelay 1))
+
diff --git a/tests/all.T b/tests/all.T
index b9e9eb8..ff8c723 100644
--- a/tests/all.T
+++ b/tests/all.T
@@ -129,3 +129,5 @@ test('T7773', when(opsys('mingw32'), skip), compile_and_run, [''])
 # Tests for kind-polymorphic Category
 test('CatPairs', normal, compile, [''])
 test('CatEntail', normal, compile, [''])
+
+test('T7653', normal, compile_and_run, [''])





More information about the ghc-commits mailing list