Permalink
Browse files

Pending test for si-5676.

  • Loading branch information...
axel22 committed May 2, 2012
1 parent 69564d4 commit 95bdd986786f42e00cac19a8659c57230a06f5d1
Showing with 26 additions and 0 deletions.
  1. +1 −0 test/pending/run/t5676.flags
  2. +25 −0 test/pending/run/t5676.scala
@@ -0,0 +1 @@
+-Xexperimental
@@ -0,0 +1,25 @@
+
+
+
+
+class Bar[T]
+
+
+class Foo[T] {
+ object A extends Bar[T]
+}
+
+
+class Baz[S] extends Foo[S] {
+ override object A extends Bar[S]
+}
+
+
+object Test {
+
+ def main(a: Array[String]) {
+ val b = new Baz[Any]
+ println(b)
+ }
+
+}

0 comments on commit 95bdd98

Please sign in to comment.