From 4b45fd72beda36addc11b5200f2d7c13ac6df43e Mon Sep 17 00:00:00 2001 From: Teo Camarasu Date: Wed, 18 May 2022 19:14:25 +0100 Subject: Add test for T21455 --- testsuite/tests/profiling/should_run/T21455.hs | 1 + testsuite/tests/profiling/should_run/all.T | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 testsuite/tests/profiling/should_run/T21455.hs 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) -- cgit v1.2.1