summaryrefslogtreecommitdiff
path: root/test/files/pos/list-extractor.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-27 20:59:33 +0000
committerPaul Phillips <paulp@improving.org>2011-07-27 20:59:33 +0000
commitac0bfa6220835723498a2f387b803fe8cd87b68d (patch)
tree4070e501dd1d2ecb9661ccd5b2893cb117031d54 /test/files/pos/list-extractor.scala
parent6b096309778039f75d450acec3d02c3a0fa005f3 (diff)
downloadscala-ac0bfa6220835723498a2f387b803fe8cd87b68d.tar.gz
scala-ac0bfa6220835723498a2f387b803fe8cd87b68d.tar.bz2
scala-ac0bfa6220835723498a2f387b803fe8cd87b68d.zip
A few tests for pending and non-pending, no rev...
A few tests for pending and non-pending, no review.
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
+ }
+}