summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail145.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/typecheck/should_fail/tcfail145.hs')
-rw-r--r--testsuite/tests/ghc-regress/typecheck/should_fail/tcfail145.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail145.hs b/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail145.hs
deleted file mode 100644
index d33dc1892f..0000000000
--- a/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail145.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE RankNTypes, ScopedTypeVariables #-}
-
--- This fails, because the type in the pattern doesn't exactly match
--- the context type. We don't do subsumption in patterns any more.
-
--- GHC 7.0: now we do again
-
-module Foo where
-
-foo :: (forall c. c -> c) -> [Char]
-foo (f :: forall a. [a] -> [a]) = f undefined
-