summaryrefslogtreecommitdiff
path: root/test/files/pos/t3856.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t3856.scala')
-rw-r--r--test/files/pos/t3856.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/pos/t3856.scala b/test/files/pos/t3856.scala
index fd253a56a8..5ea4b84e2c 100644
--- a/test/files/pos/t3856.scala
+++ b/test/files/pos/t3856.scala
@@ -2,6 +2,7 @@ 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)