summaryrefslogtreecommitdiff
path: root/test/pending/run/t0889.scala
blob: db6076e8e21fdc108c65ec1166ff2578412516ba (plain) (blame)
1
2
3
4
5
6
7
8
9
object Test extends Application {

  val a = List("a")

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