diff options
-rw-r--r-- | test/files/run/bug2873.check | 1 | ||||
-rw-r--r-- | test/files/run/bug2873.scala | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/bug2873.check b/test/files/run/bug2873.check new file mode 100644 index 0000000000..9198280f61 --- /dev/null +++ b/test/files/run/bug2873.check @@ -0,0 +1 @@ +scala.collection.immutable.RedBlack<A>.Empty$ diff --git a/test/files/run/bug2873.scala b/test/files/run/bug2873.scala new file mode 100644 index 0000000000..8d48a8dbb4 --- /dev/null +++ b/test/files/run/bug2873.scala @@ -0,0 +1,5 @@ +object Test { + def main(args: Array[String]): Unit = { + println(classOf[scala.collection.immutable.RedBlack[_]].getMethod("Empty").getGenericReturnType) + } +} |