summaryrefslogtreecommitdiff
path: root/test/files/run/t3989.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3989.scala')
-rw-r--r--test/files/run/t3989.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t3989.scala b/test/files/run/t3989.scala
index d519978e54..0daa8abee3 100644
--- a/test/files/run/t3989.scala
+++ b/test/files/run/t3989.scala
@@ -5,6 +5,7 @@
class Foo{ override def equals(o: Any) = false; override def hashCode = 1}
+// should not result in a stack overflow
object Test {
def main(args: Array[String]) {
import collection.immutable.HashMap