summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t3989.scala1
-rw-r--r--test/files/run/t3996.scala1
2 files changed, 2 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
diff --git a/test/files/run/t3996.scala b/test/files/run/t3996.scala
index 1bb1216390..e6e5549cfa 100644
--- a/test/files/run/t3996.scala
+++ b/test/files/run/t3996.scala
@@ -3,6 +3,7 @@
+// should not result in a stack overflow
object Test {
def main(args: Array[String]) {
import collection.mutable.LinkedList