aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t3989.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-04-13 19:21:08 +0200
committerGitHub <noreply@github.com>2017-04-13 19:21:08 +0200
commit975f7efab69e8e5a23db665f33dceecb0bf6ceaa (patch)
treeda35c6ff938655ab93c791980ef98d4ae8cb4cca /tests/run/t3989.scala
parent889ed89312cbe70040df92e84432853d38906308 (diff)
parent623a1d43155823cc7506c3223405bb68f459fd50 (diff)
downloaddotty-975f7efab69e8e5a23db665f33dceecb0bf6ceaa.tar.gz
dotty-975f7efab69e8e5a23db665f33dceecb0bf6ceaa.tar.bz2
dotty-975f7efab69e8e5a23db665f33dceecb0bf6ceaa.zip
Merge pull request #2251 from dotty-staging/fix-#2220
Fix #2220: disable benchmarks, set run timeout to 30 seconds
Diffstat (limited to 'tests/run/t3989.scala')
-rw-r--r--tests/run/t3989.scala17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/run/t3989.scala b/tests/run/t3989.scala
deleted file mode 100644
index 896283f19..000000000
--- a/tests/run/t3989.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-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]): Unit = {
- import collection.immutable.HashMap
- var m = Map[Foo, Int]()
- for (i <- 1 to 30000) m += (new Foo) -> i
- assert(m.size == 30000)
- m.toString
- }
-}