summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/lib')
-rw-r--r--testsuite/tests/lib/integer/IntegerConversionRules.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/tests/lib/integer/IntegerConversionRules.hs b/testsuite/tests/lib/integer/IntegerConversionRules.hs
index cb5269f360..56949e7bf1 100644
--- a/testsuite/tests/lib/integer/IntegerConversionRules.hs
+++ b/testsuite/tests/lib/integer/IntegerConversionRules.hs
@@ -1,7 +1,10 @@
+{-# LANGUAGE CPP #-}
module IntegerConversionRules where
-import Data.Word
+#if __GLASGOW_HASKELL__ < 709
+import Data.Word (Word)
+#endif
f1 :: Int -> Double
f1 = fi