summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1878.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-07-18 18:10:30 +0000
committerPaul Phillips <paulp@improving.org>2009-07-18 18:10:30 +0000
commitfd1c68f004f9cec9fc2aef430b0d28e845207987 (patch)
tree92f42f71f90ff687234a538650fad0df8fbfbc1c /test/files/neg/bug1878.scala
parentb70cf1f40b36ec686c68f514579d71a44d09a0a3 (diff)
downloadscala-fd1c68f004f9cec9fc2aef430b0d28e845207987.tar.gz
scala-fd1c68f004f9cec9fc2aef430b0d28e845207987.tar.bz2
scala-fd1c68f004f9cec9fc2aef430b0d28e845207987.zip
Added test case for #1764 to the test case for ...
Added test case for #1764 to the test case for #1878 (as #1764 was fixed along with it in r18343.)
Diffstat (limited to 'test/files/neg/bug1878.scala')
-rw-r--r--test/files/neg/bug1878.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/bug1878.scala b/test/files/neg/bug1878.scala
index ca76df082b..da22f2a4ea 100644
--- a/test/files/neg/bug1878.scala
+++ b/test/files/neg/bug1878.scala
@@ -7,4 +7,9 @@ object Test extends Application {
// illegal
val List(List(_*, arg2), _) = List(List(1,2,3), List(4,5,6))
+
+ // illegal - bug #1764
+ null match {
+ case <p> { _* } </p> =>
+ }
} \ No newline at end of file