[Git][ghc/ghc][wip/T23071] testsuite: Add test for #23071

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Wed Mar 15 20:42:18 UTC 2023



Ben Gamari pushed to branch wip/T23071 at Glasgow Haskell Compiler / GHC


Commits:
2b6fb440 by Ben Gamari at 2023-03-15T16:41:34-04:00
testsuite: Add test for #23071

- - - - -


2 changed files:

- + testsuite/tests/primops/should_run/T23071.hs
- testsuite/tests/primops/should_run/all.T


Changes:

=====================================
testsuite/tests/primops/should_run/T23071.hs
=====================================
@@ -0,0 +1,5 @@
+import Control.Monad
+import GHC.Conc.Sync
+
+main = replicateM_ 1000000 $ listThreads >>= print
+


=====================================
testsuite/tests/primops/should_run/all.T
=====================================
@@ -60,3 +60,4 @@ test('UnliftedTVar2', normal, compile_and_run, [''])
 test('UnliftedWeakPtr', normal, compile_and_run, [''])
 
 test('T21624', normal, compile_and_run, [''])
+test('T23071', ignore_stdout, compile_and_run, [''])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2b6fb4408d14d948af89018d70de26fb7686e02d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2b6fb4408d14d948af89018d70de26fb7686e02d
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230315/4f4f327b/attachment-0001.html>


More information about the ghc-commits mailing list