aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/qualifying-class-error-2.scala
blob: 9b80e1030f2cd9343201fc8adf590467ec7e7510 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                   
package A {
  trait X {
    protected[A] def f()
  }
}

package B {
  class Y extends A.X {
    protected[A] def f(): Unit = {}
  }
}