summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_compile/T14465.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/numeric/should_compile/T14465.hs')
-rw-r--r--testsuite/tests/numeric/should_compile/T14465.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/numeric/should_compile/T14465.hs b/testsuite/tests/numeric/should_compile/T14465.hs
index 314aa89c56..93a3b20020 100644
--- a/testsuite/tests/numeric/should_compile/T14465.hs
+++ b/testsuite/tests/numeric/should_compile/T14465.hs
@@ -4,7 +4,7 @@
module M where
import Numeric.Natural
-import GHC.Natural
+import GHC.Num.Natural
-- test Natural literals
one :: Natural
@@ -15,7 +15,7 @@ plusOne n = n + 1
-- a built-in rule should convert this unfolding into a Natural literal in Core
ten :: Natural
-ten = wordToNatural 10
+ten = naturalFromWord 10
-- test basic constant folding for Natural
twoTimesTwo :: Natural