aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2187.scala
blob: 8a33531541a85932a5ad816f4514502edf584d4b (plain) (blame)
1
2
3
4
5
6
7
// bug #2187
object Test extends App {
  def foo(xs:List[String]) = xs match {
    case Seq(x) => x
    case Seq(x,y) => ""
  }
}