summaryrefslogtreecommitdiff
path: root/test/files/pos/SI-7100.scala
blob: 7cb6356ec836a9d2ab64afdd699efc6f884ee109 (plain) (blame)
1
2
3
4
5
6
class Buffer {
  def f[@specialized(Int) T](): T = 0 match {
    case 0 => 0.asInstanceOf[T]
    case 1 => 0.asInstanceOf[T]
  }
}