From e558ad0e49507faf74961aa2b45d1ce53fe288c7 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Thu, 5 Jun 1997 21:36:10 +0000
Subject: [PATCH] [project @ 1997-06-05 21:36:09 by sof] new tc test

---
 ghc/compiler/tests/typecheck/should_fail/tcfail071.hs  | 10 ++++++++++
 .../tests/typecheck/should_fail/tcfail071.stderr       |  0
 2 files changed, 10 insertions(+)
 create mode 100644 ghc/compiler/tests/typecheck/should_fail/tcfail071.hs
 create mode 100644 ghc/compiler/tests/typecheck/should_fail/tcfail071.stderr

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 000000000000..49587286b998
--- /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 000000000000..e69de29bb2d1
-- 
GitLab