summaryrefslogtreecommitdiff
path: root/test/files/neg/t7859/B_2.scala
blob: 2e0556bc7b1ed22e1f869f5627aa568c51e7cf88 (plain) (blame)
1
2
3
4
5
6
7
8
9
class C(private val x: Any) extends AnyVal

// Checking that makeNotPrivate(paramAccessor) doesn't make this visible during typer.
// The output is identical with/without `extends AnyVal`.
object Test {
  new p1.A(x).x
  new B(x).x
  new C(x).x
}