aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/neg/i1240c.scala17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/neg/i1240c.scala b/tests/neg/i1240c.scala
deleted file mode 100644
index 89fded292..000000000
--- a/tests/neg/i1240c.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-// yet another variant, testing super accessors
-// (but exhibited a crash in RefChecks).
-
-trait T {
- def foo[B](x: C[B]): C[B]
-}
-abstract class A extends T {
- type C[X]
- def foo[B](x: C[B]): C[B] = {println("A.C"); x}
- def foo[B](x: List[B]): List[B] = {println("A.List"); x}
-}
-trait U extends T {
- abstract override def foo[B](x: C[B]): C[B] = super.foo[B](x)
-}
-object Test extends A with U {
- type C[X] = List[X]
-}