summaryrefslogtreecommitdiff
path: root/test/pending/pos/unapplyGeneric.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/unapplyGeneric.scala')
-rw-r--r--test/pending/pos/unapplyGeneric.scala11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/pending/pos/unapplyGeneric.scala b/test/pending/pos/unapplyGeneric.scala
deleted file mode 100644
index bf88816885..0000000000
--- a/test/pending/pos/unapplyGeneric.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-object Bar {
- def unapply[A,B](bar:Bar[A,B]) = Some(bar)
-}
-
-class Bar[A,B](val _1:A, val _2:B) extends Product2[A,B]
-
-object Test {
- new Bar(2, 'a') match {
- case Bar(x,y) =>
- }
-}