diff options
Diffstat (limited to 'testsuite/tests/concurrent/should_run/allocLimit3.hs')
-rw-r--r-- | testsuite/tests/concurrent/should_run/allocLimit3.hs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/testsuite/tests/concurrent/should_run/allocLimit3.hs b/testsuite/tests/concurrent/should_run/allocLimit3.hs deleted file mode 100644 index 28881dc016..0000000000 --- a/testsuite/tests/concurrent/should_run/allocLimit3.hs +++ /dev/null @@ -1,15 +0,0 @@ -module Main (main) where - -import GHC.Conc -import Control.Concurrent -import Control.Exception - -main = do - setAllocationCounter (10*1024) - enableAllocationLimit - - -- alloc limit overflow while masked: should successfully print the - -- result, and then immediately raise the exception - r <- mask_ $ try $ print (length [1..100000]) - - print (r :: Either SomeException ()) |