Skip to content

Commit c1e83ef

Browse files
committed
add test for #1960
1 parent 921f8bf commit c1e83ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/run/i1960.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
case class CC2[A, B](_1: A, _2: B)
2+
3+
object Test {
4+
def main(args: Array[String]): Unit = {
5+
val CC2(_, CC2(a, _)) = CC2(0, CC2(1, 2))
6+
assert(a == 1)
7+
}
8+
}

0 commit comments

Comments
 (0)