summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T3103/GHC/Num.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T3103/GHC/Num.hs')
-rw-r--r--testsuite/tests/rename/should_compile/T3103/GHC/Num.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T3103/GHC/Num.hs b/testsuite/tests/rename/should_compile/T3103/GHC/Num.hs
new file mode 100644
index 0000000000..1d403249f2
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T3103/GHC/Num.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+
+module GHC.Num (fromInteger) where
+
+import GHC.Base
+import GHC.Integer
+
+fromInteger :: Num a => Integer -> a
+fromInteger = fromInteger