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











                                    
object test {

  class B
  class C

  def tag[T](x: T): String & T = ???

  val x: Int & String = tag(0)

}