blob: 7e57a34210df70ce1f938e13b0efa83b343c15a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
// Do "git log" on this file to know why it's been moved to pending
object Test extends dotty.runtime.LegacyApp {
// This should terminate in one way or another, but it shouldn't loop forever.
try {
val buffer = collection.mutable.ArrayBuffer.fill(Int.MaxValue / 2 + 1)(0)
buffer append 1
} catch { case _: OutOfMemoryError => }
}
|