From: sof Date: Thu, 5 Jun 1997 21:36:10 +0000 (+0000) Subject: [project @ 1997-06-05 21:36:09 by sof] X-Git-Tag: Approximately_1000_patches_recorded~347 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e558ad0e49507faf74961aa2b45d1ce53fe288c7;p=ghc-hetmet.git [project @ 1997-06-05 21:36:09 by sof] new tc test --- diff --git a/ghc/compiler/tests/typecheck/should_fail/tcfail071.hs b/ghc/compiler/tests/typecheck/should_fail/tcfail071.hs new file mode 100644 index 0000000..4958728 --- /dev/null +++ b/ghc/compiler/tests/typecheck/should_fail/tcfail071.hs @@ -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 index 0000000..e69de29