summaryrefslogtreecommitdiff
path: root/test/files/neg/t5390b.scala
blob: c3373b87d3c2fc93d9aa3dffc8c08b4052e6ec3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class A {
  case class B(s: String)
}

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