summaryrefslogtreecommitdiff
path: root/test/files/run/bug2873.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-19 21:25:40 +0000
committerPaul Phillips <paulp@improving.org>2011-07-19 21:25:40 +0000
commit03f3cb5fcd91f9f3b0297f9da18cf841b78d27b2 (patch)
tree398b2a0b7b99c4ebb55b31593bce384ae6deb516 /test/files/run/bug2873.scala
parentd34bd62d07cbaf6307b0c4713c39c6df114b4b6c (diff)
downloadscala-03f3cb5fcd91f9f3b0297f9da18cf841b78d27b2.tar.gz
scala-03f3cb5fcd91f9f3b0297f9da18cf841b78d27b2.tar.bz2
scala-03f3cb5fcd91f9f3b0297f9da18cf841b78d27b2.zip
Restored test case for SI-2873 which hubert had...
Restored test case for SI-2873 which hubert had callously deleted back when it was briefly irrelevant. It would have been failing were it around, but now it passes. Closes SI-2873, no review.
Diffstat (limited to 'test/files/run/bug2873.scala')
-rw-r--r--test/files/run/bug2873.scala5
1 files changed, 5 insertions, 0 deletions
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)
+ }
+}