summaryrefslogtreecommitdiff
path: root/test/files/jvm/t2163/t2163.scala
blob: fdf19c4e258077c3ce008dc593e879f313033b04 (plain) (blame)
1
2
3
4
5
6
7
8
9
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()
}