summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2005-10-04 16:15:01 +0000
committermihaylov <mihaylov@epfl.ch>2005-10-04 16:15:01 +0000
commitc9305ff74fc9e23d2a8f4c6a27a25e5562c048cc (patch)
tree759783168829fe3609bca18f4682572a1b2ac814 /test/files/jvm
parentf13923cb2aea70b69f548a5c0fabd343809132b8 (diff)
downloadscala-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.check0
-rw-r--r--test/files/jvm/bug281.scala14
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
+ }
+}