summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorTeo Camarasu <teofilcamarasu@gmail.com>2022-05-18 19:14:25 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-24 10:49:13 -0400
commit4b45fd72beda36addc11b5200f2d7c13ac6df43e (patch)
tree7b47ca4db6d8e954765df74f375aa0f8175ba747 /testsuite/tests
parente2520df3fffa0cf22fb19c5fb872832d11c07d35 (diff)
downloadhaskell-4b45fd72beda36addc11b5200f2d7c13ac6df43e.tar.gz
Add test for T21455
Diffstat (limited to 'testsuite/tests')
-rw-r--r--testsuite/tests/profiling/should_run/T21455.hs1
-rw-r--r--testsuite/tests/profiling/should_run/all.T5
2 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/profiling/should_run/T21455.hs b/testsuite/tests/profiling/should_run/T21455.hs
new file mode 100644
index 0000000000..76a9bdb5d4
--- /dev/null
+++ b/testsuite/tests/profiling/should_run/T21455.hs
@@ -0,0 +1 @@
+main = pure ()
diff --git a/testsuite/tests/profiling/should_run/all.T b/testsuite/tests/profiling/should_run/all.T
index 1c49577e63..0455d06f17 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -30,6 +30,11 @@ test('staticcallstack002',
], compile_and_run,
['-O0 -g3 -fdistinct-constructor-tables -finfo-table-map'])
+test('T21455',
+ [extra_run_opts('+RTS -hT -postem')],
+ compile_and_run,
+ [''])
+
# Below this line, run tests only with profiling ways.
setTestOpts(req_profiling)