summaryrefslogtreecommitdiff
path: root/test/pending/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/neg')
-rw-r--r--test/pending/neg/t2066.scala16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/pending/neg/t2066.scala b/test/pending/neg/t2066.scala
deleted file mode 100644
index 46177b19f7..0000000000
--- a/test/pending/neg/t2066.scala
+++ /dev/null
@@ -1,16 +0,0 @@
-object Test extends App {
- trait A {
- def f[T[_]](x : T[Int]) : T[Any]
- }
-
- class B extends A {
- def f[T[+_]](x : T[Int]) : T[Any] = x
- }
-
- class P[Y](var y : Y)
-
- val p = new P(1)
- val palias = (new B():A).f[P](p)
- palias.y = "hello"
- val z: Int = p.y
-} \ No newline at end of file