aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t5390.scala
blob: de596a478d79cecd81743b92b62c71bb1c99edc5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                      
class A {
  object B { def apply(s: String) = 0}
}

object X {
  def foo: Unit = {
    val b = a.B("")
    val a = new A
  }
}