summaryrefslogtreecommitdiff
path: root/testsuite/tests/primops/should_run/T23071.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/primops/should_run/T23071.hs')
-rw-r--r--testsuite/tests/primops/should_run/T23071.hs5
1 files changed, 5 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
+