summaryrefslogtreecommitdiff
path: root/test/pending/pos/t2179.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/t2179.scala')
-rw-r--r--test/pending/pos/t2179.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pending/pos/t2179.scala b/test/pending/pos/t2179.scala
new file mode 100644
index 0000000000..fd37d8f760
--- /dev/null
+++ b/test/pending/pos/t2179.scala
@@ -0,0 +1,6 @@
+on trunk r18368, this delightful little poison pill:
+
+(Nil:List[List[Double]]).reduceLeft((_: Any, _: Any) => Nil.indices.map(_ => 0d))
+
+sends the compiler into an apparently infinite loop. a sample thread dump shows:
+