summaryrefslogtreecommitdiff
path: root/test/pending/run/matchonstream.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/matchonstream.scala')
-rw-r--r--test/pending/run/matchonstream.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pending/run/matchonstream.scala b/test/pending/run/matchonstream.scala
new file mode 100644
index 0000000000..d38d81d9fc
--- /dev/null
+++ b/test/pending/run/matchonstream.scala
@@ -0,0 +1,3 @@
+object Test extends Application{
+ Stream.from(1) match { case Stream(1, 2, x @_*) => println("It worked!") }
+}