aboutsummaryrefslogblamecommitdiff
path: root/tests/run/matchonstream.scala
blob: 6e5556519d586ad9d9b035937002b06dce88aa91 (plain) (tree)
1
2
3
                                            
                                                                            
 
object Test extends dotty.runtime.LegacyApp{
  Stream.from(1) match { case Stream(1, 2, x :_*) => println("It worked!") }
}