summaryrefslogtreecommitdiff
path: root/test/files/neg/t9849.scala
blob: bcd18b6916d93cbd878fd1d492381efadfa098ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package p

object O {
  protected[p] def f(x: Int = 1) = x
  private[p] def g(x: Int = 1) = x
  private def h(x: Int = 1) = x
}

object Test {
  O.f()
  O.f$default$1
  O.g()
  O.g$default$1
  O.h()
  O.h$default$1
}