summaryrefslogtreecommitdiff
path: root/test/files/pos/list-extractor.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/list-extractor.scala')
-rw-r--r--test/files/pos/list-extractor.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/list-extractor.scala b/test/files/pos/list-extractor.scala
new file mode 100644
index 0000000000..79c622bca0
--- /dev/null
+++ b/test/files/pos/list-extractor.scala
@@ -0,0 +1,8 @@
+// This was fixed in r25277 but is enough different
+// from the case I was knowingly fixing, I'm throwing it
+// in there.
+object HasArgs {
+ def boop(params: List[List[_]]) = params match {
+ case List(List()) => 2
+ }
+}