summaryrefslogblamecommitdiff
path: root/test/files/run/t9425.scala
blob: f251cc85798a9da3a4ae2f316cbb9a760bebf123 (plain) (tree)
1
2
3
4
5
6
7
8







                                                         
class C { case class Foo private (x: Int); Foo.apply(0) }

object Test {
  def test(c: C) = {import c.Foo; Foo.apply(0)}
  def main(args: Array[String]): Unit = {
    test(new C)
  }  
}