summaryrefslogtreecommitdiff
path: root/test/files/run/bug4291.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bug4291.scala')
-rw-r--r--test/files/run/bug4291.scala17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/run/bug4291.scala b/test/files/run/bug4291.scala
new file mode 100644
index 0000000000..a6dd357296
--- /dev/null
+++ b/test/files/run/bug4291.scala
@@ -0,0 +1,17 @@
+import scala.tools.partest._
+
+object Test extends App with SigTest {
+ show[List[_]]("apply")
+ show[Option[_]]("get")
+ show[Function1[_, _]]("apply")
+
+ for (name <- List("map", "flatMap", "filter", "head", "groupBy")) {
+ show[Traversable[_]](name)
+ show[Iterable[_]](name)
+ show[Seq[_]](name)
+ show[Set[_]](name)
+ show[Map[_,_]](name)
+ show[Vector[_]](name)
+ show[Range](name)
+ }
+}