aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t1123.scala
blob: e3a89c14a404af7fb9b53939725d2d9855b4f88e (plain) (tree)
1
2
3
4
5
6
7
8
9








                                    
                                                       
 
package test;
object Test {
  class Editor {
    private object extraListener {
      def h : AnyRef = extraListener
    }
    def f = extraListener.h
  }
  def main(args : Array[String]): Unit = (new Editor).f
}