diff options
Diffstat (limited to 'tests/pending/run/t889.scala')
-rw-r--r-- | tests/pending/run/t889.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pending/run/t889.scala b/tests/pending/run/t889.scala new file mode 100644 index 000000000..c2c173081 --- /dev/null +++ b/tests/pending/run/t889.scala @@ -0,0 +1,9 @@ +object Test extends App { + + val a = List("a") + + a match { + case Seq("a", "b", rest @ _*) => println("a, b, " + rest) + case Seq(first, rest @ _*) => println("first: " + first + ", rest: " + rest) + } +} |