blob: b0e06166b919a41f469b0db71e46ee0713161f02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import scala.collection.mutable._;
object Test extends dotty.runtime.LegacyApp {
val buf = new ArrayBuffer[String];
for (i <- List.range(0,1000)) {
buf += "hello";
}
Console.println("1000 = " + buf.length);
}
|