diff options
author | Ian Lynagh <igloo@earth.li> | 2012-01-14 02:14:26 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-01-14 02:14:26 +0000 |
commit | 0a797ea3dfc39ee98243d5d24f87e78d990c2fa2 (patch) | |
tree | b40a26dd8f5ab898e739ec4b8227f37ae8872710 /testsuite/tests/lib | |
parent | 655e4097c6df6314d75d32b95e114aa79c35789a (diff) | |
download | haskell-0a797ea3dfc39ee98243d5d24f87e78d990c2fa2.tar.gz |
Update tests after instances are moved out of Control.Monad.Instances
The instance-leaks test is now gone, as we now expect the instances to
leak into haskell98.
Diffstat (limited to 'testsuite/tests/lib')
-rw-r--r-- | testsuite/tests/lib/haskell98/Makefile | 3 | ||||
-rw-r--r-- | testsuite/tests/lib/haskell98/all.T | 1 | ||||
-rw-r--r-- | testsuite/tests/lib/haskell98/instance-leaks.hs | 27 |
3 files changed, 0 insertions, 31 deletions
diff --git a/testsuite/tests/lib/haskell98/Makefile b/testsuite/tests/lib/haskell98/Makefile deleted file mode 100644 index 9101fbd40a..0000000000 --- a/testsuite/tests/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/lib/haskell98/all.T b/testsuite/tests/lib/haskell98/all.T deleted file mode 100644 index 85e226fdb7..0000000000 --- a/testsuite/tests/lib/haskell98/all.T +++ /dev/null @@ -1 +0,0 @@ -test('instance-leaks', normal, compile, ['-hide-all-packages -package haskell98']) diff --git a/testsuite/tests/lib/haskell98/instance-leaks.hs b/testsuite/tests/lib/haskell98/instance-leaks.hs deleted file mode 100644 index 131d42cbd9..0000000000 --- a/testsuite/tests/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 |