summaryrefslogblamecommitdiff
path: root/test/files/pos/bug704.scala
blob: aea8292f2dac706f1b99ebf5571ab1fb910d8616 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                             
trait D {
  private val x = 1
  private object xxxx { Console.println(x) }
}
object Go extends D {
  def main(args : Array[String]) : Unit = {};
}
trait D2 {
  val x = 1
  object yyyy { Console.println(x) }
}
object Go2 extends D2 {
  def main(args : Array[String]) : Unit = {};
}