summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-17 09:45:29 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-18 10:06:43 -0400
commit528df8ecb4e2f9c78b1ae4ab7ff8230644e9b643 (patch)
tree86cd4522d35c4c8fd3a17db5f4e6b138f8be70df /testsuite/tests/codeGen
parent53ff2cd0c49735e8f709ac8a5ceab68483eb89df (diff)
downloadhaskell-528df8ecb4e2f9c78b1ae4ab7ff8230644e9b643.tar.gz
Modules: Core operations (#13009)
Diffstat (limited to 'testsuite/tests/codeGen')
-rw-r--r--testsuite/tests/codeGen/should_run/T16449_2.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_run/T16449_2.hs b/testsuite/tests/codeGen/should_run/T16449_2.hs
index acb885369c..0a08ffde23 100644
--- a/testsuite/tests/codeGen/should_run/T16449_2.hs
+++ b/testsuite/tests/codeGen/should_run/T16449_2.hs
@@ -7,7 +7,7 @@ import GHC.Int
-- Test that large unchecked shifts, which constitute undefined behavior, do
-- not crash the compiler and instead evaluate to 0.
--- See Note [Guarding against silly shifts] in PrelRules.
+-- See Note [Guarding against silly shifts] in GHC.Core.Op.ConstantFold.
-- Shift should be larger than the word size (e.g. 64 on 64-bit) for this test.
main = print (I# (uncheckedIShiftL# 1# 1000#))