summaryrefslogtreecommitdiff
path: root/test/files/jvm/t2163/t2163.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/t2163/t2163.scala')
-rw-r--r--test/files/jvm/t2163/t2163.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/jvm/t2163/t2163.scala b/test/files/jvm/t2163/t2163.scala
new file mode 100644
index 0000000000..fdf19c4e25
--- /dev/null
+++ b/test/files/jvm/t2163/t2163.scala
@@ -0,0 +1,10 @@
+
+import scala.language.{ higherKinds }
+
+class T2163Scala[CC[X]](x: CC[Int]) {
+ def bar[DD[X]](meh: DD[Int]): CC[Int] = x
+}
+
+object Test extends App {
+ new t2163().test()
+}