aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t1107b/T.scala
blob: 0dff0b94fdc3657c60db39638c9182630197b33f (plain) (tree)
1
2
3
4
5
6
7






                              
sealed trait Top
sealed trait Sub extends Top
trait C {
  private object P extends Sub
  def bob() = P.getClass
  def bob2() = O.d(P)
}