diff options
| author | Sebastian Graf <sebastian.graf@kit.edu> | 2022-12-02 16:46:45 +0100 |
|---|---|---|
| committer | Sebastian Graf <sebastian.graf@kit.edu> | 2022-12-06 16:23:53 +0100 |
| commit | 4bb308efc01bf290269d776c74deb4ede7b24902 (patch) | |
| tree | b7b00e163463a26cfb5d088eb9d877f75b215ed2 /testsuite/tests/perf/should_run/all.T | |
| parent | a9d9b8c0458e838f331ead62dca272665ecbf20d (diff) | |
| download | haskell-wip/T18964.tar.gz | |
Make `drop` and `dropWhile` fuse (#18964)wip/T18964
I copied the fusion framework we have in place for `take`.
T18964 asserts that we regress neither when fusion fires nor when it doesn't.
Fixes #18964.
Diffstat (limited to 'testsuite/tests/perf/should_run/all.T')
| -rw-r--r-- | testsuite/tests/perf/should_run/all.T | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/perf/should_run/all.T b/testsuite/tests/perf/should_run/all.T index 59ad878a4c..ba75906c7d 100644 --- a/testsuite/tests/perf/should_run/all.T +++ b/testsuite/tests/perf/should_run/all.T @@ -408,3 +408,5 @@ test('T21839r', only_ways(['normal'])], compile_and_run, ['-O']) + +test('T18964', [collect_stats('bytes allocated', 1), only_ways(['normal'])], compile_and_run, ['-O']) |
