summaryrefslogtreecommitdiff
path: root/test/files/pos/t2234.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2009-10-13 15:43:29 +0000
committerPhilipp Haller <hallerp@gmail.com>2009-10-13 15:43:29 +0000
commite76f8f00cd4fea45de53dc196cc77336958f8125 (patch)
tree96d8ef279d5bb48b37b8b5cfe97f1ab051d7dd83 /test/files/pos/t2234.scala
parent820e0bd94001e2732b119d217a12844e4720d165 (diff)
downloadscala-e76f8f00cd4fea45de53dc196cc77336958f8125.tar.gz
scala-e76f8f00cd4fea45de53dc196cc77336958f8125.tar.bz2
scala-e76f8f00cd4fea45de53dc196cc77336958f8125.zip
Fixed #2234.
Diffstat (limited to 'test/files/pos/t2234.scala')
-rw-r--r--test/files/pos/t2234.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t2234.scala b/test/files/pos/t2234.scala
new file mode 100644
index 0000000000..cea657b16f
--- /dev/null
+++ b/test/files/pos/t2234.scala
@@ -0,0 +1,4 @@
+object Test extends Application {
+ val res0 = 1 #:: Stream.empty
+ res0 match { case 1 #:: xs => xs }
+}