diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-03-15 16:41:34 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-04-20 18:34:11 -0400 |
commit | 1db30fe1dd38dd8ffedfadf3845706fcde02933b (patch) | |
tree | 478fa19bd242a9ad9758b8e717739ab09342d902 | |
parent | 52d3e9b4189440d26bad9c5a15f9420b67b1ca5b (diff) | |
download | haskell-1db30fe1dd38dd8ffedfadf3845706fcde02933b.tar.gz |
testsuite: Add test for #23071
-rw-r--r-- | testsuite/tests/primops/should_run/T23071.hs | 5 | ||||
-rw-r--r-- | testsuite/tests/primops/should_run/all.T | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/primops/should_run/T23071.hs b/testsuite/tests/primops/should_run/T23071.hs new file mode 100644 index 0000000000..e28a3b884a --- /dev/null +++ b/testsuite/tests/primops/should_run/T23071.hs @@ -0,0 +1,5 @@ +import Control.Monad +import GHC.Conc.Sync + +main = replicateM_ 1000000 $ listThreads >>= print + diff --git a/testsuite/tests/primops/should_run/all.T b/testsuite/tests/primops/should_run/all.T index f513d15a2e..4148546280 100644 --- a/testsuite/tests/primops/should_run/all.T +++ b/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, ['']) |