summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b6d2568840..9b562eec2b 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -24,6 +24,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)