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



                                                  
 
object Test {
    def f(a: Int*) = a match {
      case 0 :: Nil => "List(0)! My favorite Seq!"
      case _ => a.toString
    }
}