diff options
author | mihaylov <mihaylov@epfl.ch> | 2005-10-04 16:15:01 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2005-10-04 16:15:01 +0000 |
commit | c9305ff74fc9e23d2a8f4c6a27a25e5562c048cc (patch) | |
tree | 759783168829fe3609bca18f4682572a1b2ac814 /test/files/jvm | |
parent | f13923cb2aea70b69f548a5c0fabd343809132b8 (diff) | |
download | scala-c9305ff74fc9e23d2a8f4c6a27a25e5562c048cc.tar.gz scala-c9305ff74fc9e23d2a8f4c6a27a25e5562c048cc.tar.bz2 scala-c9305ff74fc9e23d2a8f4c6a27a25e5562c048cc.zip |
*** empty log message ***
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 + } +} |