summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc128.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc128.hs')
-rw-r--r--testsuite/tests/typecheck/should_compile/tc128.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc128.hs b/testsuite/tests/typecheck/should_compile/tc128.hs
new file mode 100644
index 0000000000..139e8e5a14
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/tc128.hs
@@ -0,0 +1,10 @@
+-- !!! Test type checking of mutually recursive groups
+-- GHC 5.00 was falling into a black hole when type checking a recursive
+-- group of type declarations including a *chain* of type synonyms.
+
+module ShouldCompile where
+
+ type PhraseFun = PMap -> Float
+ type PMap = () -> Player
+ data Player = MkT PhraseFun
+