summaryrefslogtreecommitdiff
path: root/test/files/neg/bug145.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug145.scala')
-rw-r--r--test/files/neg/bug145.scala17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/files/neg/bug145.scala b/test/files/neg/bug145.scala
deleted file mode 100644
index da66ddba05..0000000000
--- a/test/files/neg/bug145.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-class B[T] {
- def foo(x: T): Int = 1;
-}
-trait J[T] {
- def foo(x: T): Int;
-}
-trait I[T] extends B[T] with J[T] {
- abstract override def foo(x: T): Int = super[J].foo(x) + 1;
-}
-class C extends B[Int] {
- override def foo(x: Int): Int = x;
-}
-class D extends C with I[Int];
-object T with Application {
- System.out.println((new D).foo(3));
-}
-