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





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