From f062b59eac0c70c6f2640fb9e40fc4383b993d4d Mon Sep 17 00:00:00 2001
From: simonpj <unknown>
Date: Fri, 14 Jul 2000 16:43:20 +0000
Subject: [PATCH] [project @ 2000-07-14 16:43:20 by simonpj] Add mutually
 recursive kind inference test

---
 ghc/tests/typecheck/should_compile/tc106.hs     | 12 ++++++++++++
 ghc/tests/typecheck/should_compile/tc106.stderr |  0
 2 files changed, 12 insertions(+)
 create mode 100644 ghc/tests/typecheck/should_compile/tc106.hs
 create mode 100644 ghc/tests/typecheck/should_compile/tc106.stderr

diff --git a/ghc/tests/typecheck/should_compile/tc106.hs b/ghc/tests/typecheck/should_compile/tc106.hs
new file mode 100644
index 000000000000..aa9a7f804de5
--- /dev/null
+++ b/ghc/tests/typecheck/should_compile/tc106.hs
@@ -0,0 +1,12 @@
+{-# OPTIONS -fglasgow-exts #-}
+
+-- !!! Mutually recursive kind inference
+
+module ShouldCompile where
+
+class Lookup c k a where
+    lookupAll :: Sequence seq a => c -> k -> seq a
+
+class Lookup (s a) Int a => Sequence s a where
+    foo :: s a
+
diff --git a/ghc/tests/typecheck/should_compile/tc106.stderr b/ghc/tests/typecheck/should_compile/tc106.stderr
new file mode 100644
index 000000000000..e69de29bb2d1
-- 
GitLab