diff options
Diffstat (limited to 'tests/run/virtpatmat_unapplyseq.scala')
-rw-r--r-- | tests/run/virtpatmat_unapplyseq.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run/virtpatmat_unapplyseq.scala b/tests/run/virtpatmat_unapplyseq.scala new file mode 100644 index 000000000..e202c8d27 --- /dev/null +++ b/tests/run/virtpatmat_unapplyseq.scala @@ -0,0 +1,5 @@ +object Test extends dotty.runtime.LegacyApp { + List(1,2,3) match { + case Seq(x, y, z) => println(x * y * z) + } +} |