summaryrefslogblamecommitdiff
path: root/test/files/pos/bug2187.scala
blob: 087df13ec6f3659851e60a330f8b7d61022445b4 (plain) (tree)
1
2
3
4
5
6
7






                                       
// bug #2187
object Test extends Application {
  def foo(xs:List[String]) = xs match {
    case Seq(x) => x
    case Seq(x,y) => ""
  }
}