// In run, rather than pos, to check for problems like SI-4283objectO1{private[O1]classBase{deffoo:Int=0}classMediatorextendsBase}objectO2{classDerivedextendsO1.Mediator{overridedeffoo:Int=super.foo}}objectTest{defmain(args:Array[String]):Unit={newO2.Derived().foo}}