summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/tests/typecheck/should_compile/tc107.hs8
-rw-r--r--ghc/tests/typecheck/should_compile/tc107.stderr1
2 files changed, 9 insertions, 0 deletions
diff --git a/ghc/tests/typecheck/should_compile/tc107.hs b/ghc/tests/typecheck/should_compile/tc107.hs
new file mode 100644
index 0000000000..75211bc584
--- /dev/null
+++ b/ghc/tests/typecheck/should_compile/tc107.hs
@@ -0,0 +1,8 @@
+-- !!! Kind checking in a recursive situation
+-- Exposes a bug in proto-4.09 (black hole)
+
+module ShouldCompile where
+
+data ChItem = ChItemX Stream
+type Stream = ChItem
+
diff --git a/ghc/tests/typecheck/should_compile/tc107.stderr b/ghc/tests/typecheck/should_compile/tc107.stderr
new file mode 100644
index 0000000000..8d1c8b69c3
--- /dev/null
+++ b/ghc/tests/typecheck/should_compile/tc107.stderr
@@ -0,0 +1 @@
+