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









                         
class A {
  case class B(s: String)
}

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