summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-11-17 17:04:12 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-11-17 17:04:12 +0000
commiteb2d8e39853f776af2c9e2c2d1b479d67641496b (patch)
tree32826af3eaecca8e95fcff8d35744c1fee6a9b15 /test
parent9266922e1bfcbbebc9b5926864f7e70e49e142e7 (diff)
downloadscala-eb2d8e39853f776af2c9e2c2d1b479d67641496b.tar.gz
scala-eb2d8e39853f776af2c9e2c2d1b479d67641496b.tar.bz2
scala-eb2d8e39853f776af2c9e2c2d1b479d67641496b.zip
Fixes #3989.
No review.
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