summaryrefslogtreecommitdiff
path: root/testsuite/tests/primops
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/primops')
-rw-r--r--testsuite/tests/primops/should_run/T4442.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/primops/should_run/T4442.hs b/testsuite/tests/primops/should_run/T4442.hs
index 0d09f621e0..40d7879cac 100644
--- a/testsuite/tests/primops/should_run/T4442.hs
+++ b/testsuite/tests/primops/should_run/T4442.hs
@@ -8,6 +8,9 @@ import GHC.Stable(
StablePtr(..), castStablePtrToPtr, castPtrToStablePtr, newStablePtr)
import GHC.Exts
import Data.Char(ord)
+#if WORD_SIZE_IN_BITS < 64
+import GHC.Int (Int64(..))
+#endif
assertEqual :: (Show a, Eq a) => a -> a -> IO ()
assertEqual a b