summaryrefslogblamecommitdiff
path: root/test-nsc/files/pos/bug360.scala
blob: 0fcb5cb161022f9c52d7306e0062c7624698778d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                    
// $Id$

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