aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/subtyping.scala
blob: a5e156780ce5ff21942d58e91cb6ee5e0b4f9c99 (plain) (tree)
1
2
3
4
5
6





                                       
class A {
  def test1(): Unit = {
    implicitly[this.type <:< this.type]
    implicitly[this.type <:< A]
  }
}