summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authorDavid MacIver <david.maciver@gmail.com>2008-10-26 12:05:25 +0000
committerDavid MacIver <david.maciver@gmail.com>2008-10-26 12:05:25 +0000
commitbd61de26a34e6ca8f09b1467ec595d829bb6ded3 (patch)
tree3df3d9457396fd12eefe017cc8314ca9db0d60f5 /test/pending
parentd357ce72f517d3635f4bf23317f18e2521bf5d16 (diff)
downloadscala-bd61de26a34e6ca8f09b1467ec595d829bb6ded3.tar.gz
scala-bd61de26a34e6ca8f09b1467ec595d829bb6ded3.tar.bz2
scala-bd61de26a34e6ca8f09b1467ec595d829bb6ded3.zip
Tests for #1450.
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/run/matchonstream.check1
-rw-r--r--test/pending/run/matchonstream.scala3
2 files changed, 4 insertions, 0 deletions
diff --git a/test/pending/run/matchonstream.check b/test/pending/run/matchonstream.check
new file mode 100644
index 0000000000..3dc3aa5164
--- /dev/null
+++ b/test/pending/run/matchonstream.check
@@ -0,0 +1 @@
+It worked!
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!") }
+}