summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/should_run/T15226.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/perf/should_run/T15226.hs')
-rw-r--r--testsuite/tests/perf/should_run/T15226.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/perf/should_run/T15226.hs b/testsuite/tests/perf/should_run/T15226.hs
index 0704b77284..6f68bde0b2 100644
--- a/testsuite/tests/perf/should_run/T15226.hs
+++ b/testsuite/tests/perf/should_run/T15226.hs
@@ -6,7 +6,7 @@ import Prelude hiding (repeat)
-- 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