aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t464-neg.scala
blob: c2f027a21a945a674a7ec15db2c57f41effa0f1d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                     
class A {
  private[this] def f1(): Unit = {}
  protected[this] def f2(): Unit = {}
  private[A] def f3(): Unit = {}
}
class B extends A {
  f1()
  super.f1()
  def otherb(b2: B) = b2.f2()
  f3()
  super.f3()
}