summaryrefslogtreecommitdiff
path: root/test/files/run/t1524.scala
blob: ecd90adec76b18078a60b38f955f2febfa12e946 (plain) (blame)
1
2
3
4
5
6
7
object Test extends Application {

  val buf = new scala.collection.mutable.ArrayBuffer[String] { override val initialSize = 0 }
  buf += "initial"
  buf += "second"
  println(buf.first)
}