summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/should_run/T15226a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/perf/should_run/T15226a.hs')
-rw-r--r--testsuite/tests/perf/should_run/T15226a.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/perf/should_run/T15226a.hs b/testsuite/tests/perf/should_run/T15226a.hs
index 3f1937627f..faaa530de9 100644
--- a/testsuite/tests/perf/should_run/T15226a.hs
+++ b/testsuite/tests/perf/should_run/T15226a.hs
@@ -7,7 +7,7 @@ import Data.Coerce
-- We want to be sure that the compiler *doesn't* know that
-- all the elements of the list are in WHNF, because if it
--- does, GHC.Core.Op.ConstantFold may erase the seq#'s altogether.
+-- does, GHC.Core.Opt.ConstantFold may erase the seq#'s altogether.
repeat :: a -> [a]
repeat a = res
where res = a : res