summaryrefslogtreecommitdiff
path: root/test/files/run/matchonstream.scala
blob: d38d81d9fc740d3a42223d34c76e0ff9ef750393 (plain) (blame)
1
2
3
object Test extends Application{
  Stream.from(1) match { case Stream(1, 2, x @_*) => println("It worked!") }
}