[project @ 1997-06-05 21:36:09 by sof]
authorsof <unknown>
Thu, 5 Jun 1997 21:36:10 +0000 (21:36 +0000)
committersof <unknown>
Thu, 5 Jun 1997 21:36:10 +0000 (21:36 +0000)
new tc test

ghc/compiler/tests/typecheck/should_fail/tcfail071.hs [new file with mode: 0644]
ghc/compiler/tests/typecheck/should_fail/tcfail071.stderr [new file with mode: 0644]

diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail071.hs b/ghc/compiler/tests/typecheck/should_fail/tcfail071.hs
new file mode 100644 (file)
index 0000000..4958728
--- /dev/null
@@ -0,0 +1,10 @@
+--!!! Mis-matched contexts in a mutually recursive group
+
+module Foo7( f ) where
+
+f :: (Ord c) => c -> c
+f c = g c
+
+g :: c -> c
+g c = c
+  where p = foldr (f c) [] []
diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail071.stderr b/ghc/compiler/tests/typecheck/should_fail/tcfail071.stderr
new file mode 100644 (file)
index 0000000..e69de29