diff options
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/bug281.check | 0 | ||||
-rw-r--r-- | test/files/jvm/bug281.scala | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/files/jvm/bug281.check b/test/files/jvm/bug281.check new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/test/files/jvm/bug281.check diff --git a/test/files/jvm/bug281.scala b/test/files/jvm/bug281.scala new file mode 100644 index 0000000000..5f8c15b6ae --- /dev/null +++ b/test/files/jvm/bug281.scala @@ -0,0 +1,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 + } +} |