aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i2200/Hello.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i2200/Hello.scala')
-rw-r--r--tests/pos/i2200/Hello.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/i2200/Hello.scala b/tests/pos/i2200/Hello.scala
new file mode 100644
index 000000000..47e8b2024
--- /dev/null
+++ b/tests/pos/i2200/Hello.scala
@@ -0,0 +1,6 @@
+package bar
+import scala.language.higherKinds
+class Fix[F[_]](unfix: F[Fix[F]])
+object DocTree {
+ def docTree(s: StreamTree[DocTree]): DocTree = new Fix(s: StreamTree[DocTree])
+}