aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t3856.scala
blob: 6b38edc52cbedff12d233ee0affccfb27a0426ee (plain) (blame)
1
2
3
4
5
6
7
8
9
case class C[T](x: T)

case class CS(xs: C[_]*)

// t3856
object Test {
  val x = CS(C(5), C("abc")) match { case CS(C(5), xs : _*) => xs }
  println(x)
}