summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1878.scala
diff options
context:
space:
mode:
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