aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/desugar.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/desugar.scala')
-rw-r--r--tests/pos/desugar.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pos/desugar.scala b/tests/pos/desugar.scala
index 80c7529fa..fbf55d18b 100644
--- a/tests/pos/desugar.scala
+++ b/tests/pos/desugar.scala
@@ -32,5 +32,7 @@ object desugar {
val xs = Cons(1, Cons(2, Nil))
val Cons(y, ys) = xs
+ val Cons(z, _) = xs
+ val Cons(_, _) = xs
}
} \ No newline at end of file