diff options
author | Paul Phillips <paulp@improving.org> | 2009-07-18 18:10:30 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-07-18 18:10:30 +0000 |
commit | fd1c68f004f9cec9fc2aef430b0d28e845207987 (patch) | |
tree | 92f42f71f90ff687234a538650fad0df8fbfbc1c /test/files/neg/bug1878.scala | |
parent | b70cf1f40b36ec686c68f514579d71a44d09a0a3 (diff) | |
download | scala-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.scala | 5 |
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 |