summaryrefslogtreecommitdiff
path: root/test/files/jvm/bug281.scala
blob: 5f8c15b6aed0dcd27f8c7bde49d131abcf81c728 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//############################################################################
// Bug 281

class Bug281A extends java.util.Hashtable {
    class B { def f = rehash() };
}

object Test {
  def main(args: Array[String]): Unit = {
    val a = new Bug281A;
    val b = new a.B;
    b.f
  }
}