summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeo Camarasu <teofilcamarasu@gmail.com>2022-05-18 19:14:25 +0100
committerZubin Duggal <zubin.duggal@gmail.com>2022-07-14 14:39:38 +0530
commit45177166ea0a88b11dcdc4ec76849a7b9a00ec12 (patch)
treea2b6898908b3b0fe52c4d12057f127ae24d90acf
parenta548e8de8a56f3e7c5ff80c4a3e03621e63e208f (diff)
downloadhaskell-45177166ea0a88b11dcdc4ec76849a7b9a00ec12.tar.gz
Add test for T21455
(cherry picked from commit 26e16e611ccfdbe8450f4b3ffac3182e698e1351) (cherry picked from commit 3a3c3bfd2abed133f5c3281d8b185906b5712fdd)
-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)