aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/hk-subtyping.scala
blob: a004c26181f9a85116d7c51f502417975fa459c4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                              
object Test {

  def compare[S <: T, T] = ()

  compare[Int, Int]
  compare[Int, Any]

  def f[C <: List] = {
    compare[C[Int], List[Int]]
  }


}