diff options
author | David MacIver <david.maciver@gmail.com> | 2008-10-26 12:52:21 +0000 |
---|---|---|
committer | David MacIver <david.maciver@gmail.com> | 2008-10-26 12:52:21 +0000 |
commit | ced4ddfef6b26f5aa84960289bb08c4cb883d071 (patch) | |
tree | cafb660fe0acce6d8b141d618b03ae3cc863cb23 /test/files | |
parent | bd61de26a34e6ca8f09b1467ec595d829bb6ded3 (diff) | |
download | scala-ced4ddfef6b26f5aa84960289bb08c4cb883d071.tar.gz scala-ced4ddfef6b26f5aa84960289bb08c4cb883d071.tar.bz2 scala-ced4ddfef6b26f5aa84960289bb08c4cb883d071.zip |
Fix to #1450. Moved test from pending.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/matchonstream.check | 1 | ||||
-rw-r--r-- | test/files/run/matchonstream.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/matchonstream.check b/test/files/run/matchonstream.check new file mode 100644 index 0000000000..3dc3aa5164 --- /dev/null +++ b/test/files/run/matchonstream.check @@ -0,0 +1 @@ +It worked! diff --git a/test/files/run/matchonstream.scala b/test/files/run/matchonstream.scala new file mode 100644 index 0000000000..d38d81d9fc --- /dev/null +++ b/test/files/run/matchonstream.scala @@ -0,0 +1,3 @@ +object Test extends Application{ + Stream.from(1) match { case Stream(1, 2, x @_*) => println("It worked!") } +} |