summaryrefslogtreecommitdiff
path: root/test/files/pos/t2187-2.scala
blob: 3f2742dd89cd669004a4738079323de27bea8c04 (plain) (blame)
1
2
3
4
5
6
7
class Test {
  def test[A](list: List[A]) = list match {
    case Seq(x, y) => "xy"
    case Seq(x) => "x"
    case _ => "something else"
  }
}