aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t889.scala
blob: c2c1730811ca7ba0eca2c97be06f7be84b457582 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                
object Test extends App {

  val a = List("a")

  a match {
    case Seq("a", "b", rest @ _*) => println("a, b, " + rest)
    case Seq(first, rest @ _*) => println("first: " + first + ", rest: " + rest)
  }
}