summaryrefslogblamecommitdiff
path: root/test/files/run/t2241.scala
blob: 4a8a662b85b31b887c0d5845250a974a4785bb46 (plain) (tree)
1
2
3
4
5
6
7
                         




                                 
 
object Test extends App {
  def f(a:Array[Int]) = a match {
    case Array(1, _*) => "yes"
    case _ => "no"
  }
  assert(f(null) == "no")
}