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