summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/lib/haskell98
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/lib/haskell98')
-rw-r--r--testsuite/tests/ghc-regress/lib/haskell98/Makefile3
-rw-r--r--testsuite/tests/ghc-regress/lib/haskell98/all.T1
-rw-r--r--testsuite/tests/ghc-regress/lib/haskell98/instance-leaks.hs27
3 files changed, 0 insertions, 31 deletions
diff --git a/testsuite/tests/ghc-regress/lib/haskell98/Makefile b/testsuite/tests/ghc-regress/lib/haskell98/Makefile
deleted file mode 100644
index 1c39d1c1fe..0000000000
--- a/testsuite/tests/ghc-regress/lib/haskell98/Makefile
+++ /dev/null
@@ -1,3 +0,0 @@
-TOP=../../../..
-include $(TOP)/mk/boilerplate.mk
-include $(TOP)/mk/test.mk
diff --git a/testsuite/tests/ghc-regress/lib/haskell98/all.T b/testsuite/tests/ghc-regress/lib/haskell98/all.T
deleted file mode 100644
index 85e226fdb7..0000000000
--- a/testsuite/tests/ghc-regress/lib/haskell98/all.T
+++ /dev/null
@@ -1 +0,0 @@
-test('instance-leaks', normal, compile, ['-hide-all-packages -package haskell98'])
diff --git a/testsuite/tests/ghc-regress/lib/haskell98/instance-leaks.hs b/testsuite/tests/ghc-regress/lib/haskell98/instance-leaks.hs
deleted file mode 100644
index 131d42cbd9..0000000000
--- a/testsuite/tests/ghc-regress/lib/haskell98/instance-leaks.hs
+++ /dev/null
@@ -1,27 +0,0 @@
--- Check that the instances in Control.Monad.Instances do not leak
--- into any Haskell 98 modules.
-module Main where
-
--- import all Haskell 98 modules
-import Array
-import Char
-import Complex
-import CPUTime
-import Directory
-import IO
-import Ix
-import List
-import Locale
-import Maybe
-import Monad
-import Numeric
-import Random
-import Ratio
-import System
-import Time
-
--- This will fail if any of the Haskell 98 modules indirectly import
--- Control.Monad.Instances
-instance Functor ((->) r) where fmap = (.)
-
-main = undefined