aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t1136.scala
blob: 92d603e69070e0319c0e294aed0409038aa65022 (plain) (tree)
1
2
3
4
5
6
7
8







                                      
object test {
  def foo(s: Int*): Unit = {
    s.toList match {
      case t: List[Int] => foo(t: _*)
      //case _ =>  // unreachable code
    }
  }
}