Add a test for #7653
authorIan Lynagh <ian@well-typed.com>
Sat, 8 Jun 2013 20:09:59 +0000 (21:09 +0100)
committerIan Lynagh <ian@well-typed.com>
Sat, 8 Jun 2013 20:09:59 +0000 (21:09 +0100)
tests/T7653.hs [new file with mode: 0644]
tests/all.T

diff --git a/tests/T7653.hs b/tests/T7653.hs
new file mode 100644 (file)
index 0000000..4ab8674
--- /dev/null
@@ -0,0 +1,7 @@
+
+import Control.Monad;
+import Control.Concurrent
+
+main :: IO ()
+main = replicateM_ 1000000 (forkIO (threadDelay 1))
+
index b9e9eb8..ff8c723 100644 (file)
@@ -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, [''])