summaryrefslogtreecommitdiff
path: root/test/pending/run/t3857.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-03-24 11:15:37 +0000
committerMartin Odersky <odersky@gmail.com>2011-03-24 11:15:37 +0000
commit0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f (patch)
tree20bbb275b2fbb079f5b0f1e25a703a5fbf6dbfab /test/pending/run/t3857.scala
parentae8e258bf4147a9b10889503f784a3b97a7d2e09 (diff)
downloadscala-0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f.tar.gz
scala-0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f.tar.bz2
scala-0dd018e2cbeb487ed2d94ed9fdd413250ff67a7f.zip
Moved failing tests to pending after having dia...
Moved failing tests to pending after having diagnosed that the only problem is a difference in output between Java 1.5 and 1.6 reflection libraries. Can we moved back once that's fixed. For now, it's more important to ghet the build back.
Diffstat (limited to 'test/pending/run/t3857.scala')
-rw-r--r--test/pending/run/t3857.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/pending/run/t3857.scala b/test/pending/run/t3857.scala
new file mode 100644
index 0000000000..94f52f72fe
--- /dev/null
+++ b/test/pending/run/t3857.scala
@@ -0,0 +1,13 @@
+import scala.tools.partest._
+
+class ScalaGeneric { var s: java.util.Set[String] = _ }
+trait ScalaGeneric2Trait { var s: java.util.Set[String] = _ }
+class ScalaGeneric2 extends ScalaGeneric2Trait { }
+
+object Test extends SigTest {
+ def main(args: Array[String]): Unit = {
+ show[ScalaGeneric]()
+ show[ScalaGeneric2Trait]()
+ show[ScalaGeneric2]()
+ }
+}