summaryrefslogtreecommitdiff
path: root/libraries/base/tests/T16111.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/tests/T16111.hs')
-rw-r--r--libraries/base/tests/T16111.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/base/tests/T16111.hs b/libraries/base/tests/T16111.hs
new file mode 100644
index 0000000000..241714ea13
--- /dev/null
+++ b/libraries/base/tests/T16111.hs
@@ -0,0 +1,13 @@
+module Main (main) where
+
+import Data.Bits
+import Data.Word
+
+main :: IO ()
+main = print $ toInteger (shiftL 1 hm :: Word64)
+ == toInteger (shiftL 1 hm :: Word64)
+
+hm :: Int
+hm = -1
+{-# NOINLINE hm #-}
+