summaryrefslogtreecommitdiff
path: root/test/files/pos/bug360.scala
blob: 64a02519ccf2676bce247e800e2c0f069797bc5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// $Id$

abstract class Bug360A { self: Bug360C =>
  def f: String = "hello";
}
trait Bug360B { self: Bug360C =>
  object d {
    Console.println(f);
  }
}
abstract class Bug360C extends Bug360A with Bug360B;