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

       
                                         

                          
                                




                                                    
// $Id$

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